TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\TimeTracker\NullTimeTracker Class Reference
Inheritance diagram for TYPO3\CMS\Core\TimeTracker\NullTimeTracker:
t3lib_TimeTrackNull

Public Member Functions

 start ()
 
 push ($tslabel, $value='')
 
 pull ($content='')
 
 setTSselectQuery (array $data, $msg='')
 
 setTSlogMessage ($content, $num=0)
 
 printTSlog ()
 
 incStackPointer ()
 
 decStackPointer ()
 
 getMilliseconds ($microtime=NULL)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A fake time tracker that does nothing but providing the methods of the real time tracker. This is done to save some performance over the real time tracker.

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 22 of file NullTimeTracker.php.

Member Function Documentation

◆ decStackPointer()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::decStackPointer ( )

Decreases the stack pointer

does nothing

Returns
void

Definition at line 116 of file NullTimeTracker.php.

◆ getMilliseconds()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::getMilliseconds (   $microtime = NULL)

Gets a microtime value as milliseconds value.

Parameters
float$microtimeThe microtime value - if not set the current time is used
Returns
integer The microtime value as milliseconds value

Definition at line 126 of file NullTimeTracker.php.

◆ incStackPointer()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::incStackPointer ( )

Increases the stack pointer

does nothing

Returns
void

Definition at line 105 of file NullTimeTracker.php.

◆ printTSlog()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::printTSlog ( )

Print TypoScript parsing log

does nothing

Returns
string HTML table with the information about parsing times.

Definition at line 94 of file NullTimeTracker.php.

◆ pull()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::pull (   $content = '')

Pulls an element from the TypoScript tracking array

does nothing

Parameters
string$contentThe content string generated within the push/pull part.
Returns
void

Definition at line 57 of file NullTimeTracker.php.

◆ push()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::push (   $tslabel,
  $value = '' 
)

Pushes an element to the TypoScript tracking array

does nothing

Parameters
string$tslabelLabel string for the entry, eg. TypoScript property name
string$valueAdditional value(?)
Returns
void

Definition at line 45 of file NullTimeTracker.php.

◆ setTSlogMessage()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::setTSlogMessage (   $content,
  $num = 0 
)

Logs the TypoScript entry

does nothing

Parameters
string$contentThe message string
integer$numMessage type: 0: information, 1: message, 2: warning, 3: error
Returns
void

Definition at line 83 of file NullTimeTracker.php.

◆ setTSselectQuery()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::setTSselectQuery ( array  $data,
  $msg = '' 
)

Set TSselectQuery - for messages in TypoScript debugger.

does nothing

Parameters
array$dataQuery array
string$msgMessage/Label to attach
Returns
void

Definition at line 70 of file NullTimeTracker.php.

◆ start()

TYPO3\CMS\Core\TimeTracker\NullTimeTracker::start ( )

"Constructor" Sets the starting time

does nothing

Returns
void

Definition at line 32 of file NullTimeTracker.php.