t3lib_timeTrack Klassenreferenz
Aufstellung aller Elemente
Öffentliche Methoden |
| | start () |
| | push ($tslabel, $value='') |
| | pull ($content='') |
| | setTSlogMessage ($content, $num=0) |
| | setTSselectQuery (array $data, $msg='') |
| | incStackPointer () |
| | decStackPointer () |
| | mtime () |
| | convertMicrotime ($microtime) |
| | printTSlog () |
| | fixContent (&$arr, $content, $depthData='', $first=0, $vKey='') |
| | fixCLen ($c, $v) |
| | fw ($str) |
| | createHierarchyArray (&$arr, $pointer, $uniqueId) |
| | debug_typo3PrintError ($header, $text, $js, $baseUrl='') |
Öffentliche Attribute |
|
| $starttime = 0 |
|
| $LR = 1 |
| | $printConf |
|
| $wrapError = array() |
|
| $wrapIcon = array() |
|
| $uniqueCounter = 0 |
|
| $tsStack = array(array()) |
|
| $tsStackLevel = 0 |
|
| $tsStackLevelMax = array() |
|
| $tsStackLog = array() |
|
| $tsStackPointer = 0 |
|
| $currentHashPointer = array() |
|
| $highlightLongerThan = 0 |
Dokumentation der Elementfunktionen
| t3lib_timeTrack::convertMicrotime |
( |
$ |
microtime |
) |
|
Returns microtime input to milliseconds
- Parameter:
-
| string | PHP microtime string |
- Rückgabe:
- integer
| t3lib_timeTrack::createHierarchyArray |
( |
&$ |
arr, |
|
|
$ |
pointer, |
|
|
$ |
uniqueId | |
|
) |
| | |
Helper function for internal data manipulation
- Parameter:
-
| array | Array (passed by reference) and modified |
| integer | Pointer value |
| string | Unique ID string |
- Rückgabe:
- void private
- Siehe auch:
- printTSlog()
| t3lib_timeTrack::debug_typo3PrintError |
( |
$ |
header, |
|
|
$ |
text, |
|
|
$ |
js, |
|
|
$ |
baseUrl = '' | |
|
) |
| | |
This prints out a TYPO3 error message.
- Parameter:
-
| string | Header string |
| string | Message string |
| boolean | If set, then this will produce a alert() line for inclusion in JavaScript. |
| string | URL for the <base> tag (if you want it) |
- Rückgabe:
- string
| t3lib_timeTrack::decStackPointer |
( |
|
) |
|
Decreases the stack pointer
- Rückgabe:
- void
- Siehe auch:
- incStackPointer(), TSpagegen::renderContent(), tslib_cObj::cObjGetSingle()
| t3lib_timeTrack::fixCLen |
( |
$ |
c, |
|
|
$ |
v | |
|
) |
| | |
Wraps the input content string in green colored span-tags IF the length o fthe input string exceeds $this->printConf['contentLength'] (or $this->printConf['contentLength_FILE'] if $v == "FILE"
- Parameter:
-
| string | The content string |
| string | Command: If "FILE" then $this->printConf['contentLength_FILE'] is used for content length comparison, otherwise $this->printConf['contentLength'] |
- Rückgabe:
- string
| t3lib_timeTrack::fixContent |
( |
&$ |
arr, |
|
|
$ |
content, |
|
|
$ |
depthData = '', |
|
|
$ |
first = 0, |
|
|
$ |
vKey = '' | |
|
) |
| | |
Recursively generates the content to display
- Parameter:
-
| array | Array which is modified with content. Reference |
| string | Current content string for the level |
| string | Prefixed icons for new PM icons |
| boolean | Set this for the first call from outside. |
| string | Seems to be the previous tsStackLog key |
- Rückgabe:
- string Returns the $content string generated/modified. Also the $arr array is modified!
| t3lib_timeTrack::fw |
( |
$ |
str |
) |
|
Wraps input string in a tag with black verdana font
- Parameter:
-
| string | The string to be wrapped |
- Rückgabe:
- string
| t3lib_timeTrack::incStackPointer |
( |
|
) |
|
Increases the stack pointer
- Rückgabe:
- void
- Siehe auch:
- decStackPointer(), TSpagegen::renderContent(), tslib_cObj::cObjGetSingle()
| t3lib_timeTrack::mtime |
( |
|
) |
|
Returns the current time in milliseconds
- Rückgabe:
- integer
| t3lib_timeTrack::printTSlog |
( |
|
) |
|
| t3lib_timeTrack::pull |
( |
$ |
content = '' |
) |
|
Pulls an element from the TypoScript tracking array
- Parameter:
-
| string | The content string generated within the push/pull part. |
- Rückgabe:
- void
- Siehe auch:
- tslib_cObj::cObjGetSingle(), push()
| t3lib_timeTrack::push |
( |
$ |
tslabel, |
|
|
$ |
value = '' | |
|
) |
| | |
Pushes an element to the TypoScript tracking array
- Parameter:
-
| string | Label string for the entry, eg. TypoScript property name |
| string | Additional value(?) |
- Rückgabe:
- void
- Siehe auch:
- tslib_cObj::cObjGetSingle(), pull()
| t3lib_timeTrack::setTSlogMessage |
( |
$ |
content, |
|
|
$ |
num = 0 | |
|
) |
| | |
Logs the TypoScript entry
- Parameter:
-
| string | The message string |
| integer | Message type: 0: information, 1: message, 2: warning, 3: error |
- Rückgabe:
- void
- Siehe auch:
- tslib_cObj::CONTENT()
| t3lib_timeTrack::setTSselectQuery |
( |
array $ |
data, |
|
|
$ |
msg = '' | |
|
) |
| | |
Set TSselectQuery - for messages in TypoScript debugger.
- Parameter:
-
| array | Query array |
| string | Message/Label to attach |
- Rückgabe:
- void
| t3lib_timeTrack::start |
( |
|
) |
|
Constructor Sets the starting time
- Rückgabe:
- void
Dokumentation der Datenelemente
| t3lib_timeTrack::$printConf |
Initialisierung:array(
'showParentKeys' => 1,
'contentLength' => 10000,
'contentLength_FILE' => 400,
'flag_tree' => 1,
'flag_messages' => 1,
'flag_queries' => 0,
'flag_content' => 0,
'allTime' => 0,
'keyLgd' => 40,
'factor' => 10,
'col' => '#D9D5C9',
'highlight_col' => '#FF9933'
)
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/t3lib/class.t3lib_timetrack.php