Public Member Functions | |
| start () | |
| push ($tslabel, $value='') | |
| pull ($content='') | |
| setTSlogMessage ($content, $num=0) | |
| setTSselectQuery ($query, $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='') | |
Public Attributes | |
| $starttime = 0 | |
| $LR = 1 | |
| $printConf | |
| $wrapError | |
| $wrapIcon | |
| $uniqueCounter = 0 | |
| $tsStack = array(array()) | |
| $tsStackLevel = 0 | |
| $tsStackLevelMax = array() | |
| $tsStackLog = array() | |
| $tsStackPointer = 0 | |
| $currentHashPointer = array() | |
Definition at line 88 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::start | ( | ) |
Constructor Sets the starting time
Definition at line 144 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::push | ( | $ | tslabel, | |
| $ | value = '' | |||
| ) |
Pushes an element to the TypoScript tracking array
| string | Label string for the entry, eg. TypoScript property name | |
| string | Additional value(?) |
Definition at line 164 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::pull | ( | $ | content = '' |
) |
Pulls an element from the TypoScript tracking array
| string | The content string generated within the push/pull part. |
Definition at line 189 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::setTSlogMessage | ( | $ | content, | |
| $ | num = 0 | |||
| ) |
Logs the TypoScript entry
| string | The message string | |
| integer | Message type: 0: information, 1: message, 2: warning, 3: error |
Definition at line 207 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::setTSselectQuery | ( | $ | query, | |
| $ | msg | |||
| ) |
Set TSselectQuery - for messages in TypoScript debugger.
| string | Query string | |
| string | Message/Label to attach |
Definition at line 221 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::incStackPointer | ( | ) |
| t3lib_timeTrack::decStackPointer | ( | ) |
| t3lib_timeTrack::mtime | ( | ) |
Returns the current time in milliseconds
Definition at line 255 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::convertMicrotime | ( | $ | microtime | ) |
Returns microtime input to milliseconds
| string | PHP microtime string |
Definition at line 265 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::printTSlog | ( | ) |
Print TypoScript parsing log
Definition at line 298 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::fixContent | ( | &$ | arr, | |
| $ | content, | |||
| $ | depthData = '', |
|||
| $ | first = 0, |
|||
| $ | vKey = '' | |||
| ) |
Recursively generates the content to display
| 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 |
Definition at line 447 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::fixCLen | ( | $ | c, | |
| $ | v | |||
| ) |
Wraps the input content string in green colored font-tags IF the length o fthe input string exceeds $this->printConf['contentLength'] (or $this->printConf['contentLength_FILE'] if $v == "FILE"
| string | The content string | |
| string | Command: If "FILE" then $this->printConf['contentLength_FILE'] is used for content length comparison, otherwise $this->printConf['contentLength'] |
Definition at line 511 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::fw | ( | $ | str | ) |
Wraps input string in a <font> tag with verdana, black and size 1
| string | The string to be wrapped |
Definition at line 527 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::createHierarchyArray | ( | &$ | arr, | |
| $ | pointer, | |||
| $ | uniqueId | |||
| ) |
Helper function for internal data manipulation
| array | Array (passed by reference) and modified | |
| integer | Pointer value | |
| string | Unique ID string |
Definition at line 541 of file class.t3lib_timetrack.php.
| t3lib_timeTrack::debug_typo3PrintError | ( | $ | header, | |
| $ | text, | |||
| $ | js, | |||
| $ | baseUrl = '' | |||
| ) |
This prints out a TYPO3 error message.
| 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) |
Definition at line 561 of file class.t3lib_timetrack.php.