2 /***************************************************************
5 * (c) 2008 Ingo Renner <ingo@typo3.org>
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
17 * This script is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * This copyright notice MUST APPEAR in all copies of the script!
23 ***************************************************************/
28 * A fake time tracker that does nothing but providing the methods of the real time tracker.
29 * This is done to save some performance over the real time tracker.
31 * @author Ingo Renner <ingo@typo3.org>
35 class t3lib_TimeTrackNull
{
38 * Sets the starting time
44 public function start() {}
47 * Pushes an element to the TypoScript tracking array
51 * @param string Label string for the entry, eg. TypoScript property name
52 * @param string Additional value(?)
55 public function push($tslabel, $value = '') {}
58 * Pulls an element from the TypoScript tracking array
62 * @param string The content string generated within the push/pull part.
65 public function pull($content = '') {}
68 * Set TSselectQuery - for messages in TypoScript debugger.
72 * @param array Query array
73 * @param string Message/Label to attach
76 public function setTSselectQuery(array $data, $msg = '') {}
79 * Logs the TypoScript entry
83 * @param string The message string
84 * @param integer Message type: 0: information, 1: message, 2: warning, 3: error
87 public function setTSlogMessage($content, $num = 0) {}
90 * Print TypoScript parsing log
94 * @return string HTML table with the information about parsing times.
96 public function printTSlog() {}
99 * Increases the stack pointer
105 public function incStackPointer() {}
108 * Decreases the stack pointer
114 public function decStackPointer() {}
117 * Returns microtime input to milliseconds
121 * @param string PHP microtime string
124 public function convertMicrotime($microtime) {}
127 * Gets a microtime value as milliseconds value.
129 * @param float $microtime: The microtime value - if not set the current time is used
130 * @return integer The microtime value as milliseconds value
132 public function getMilliseconds($microtime = NULL) {}
136 // XCLASSing is not possible for this class