|
TYPO3 API
SVNRelease
|
00001 <?php 00002 /*************************************************************** 00003 * Copyright notice 00004 * 00005 * (c) 2008 Ingo Renner <ingo@typo3.org> 00006 * All rights reserved 00007 * 00008 * This script is part of the TYPO3 project. The TYPO3 project is 00009 * free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * The GNU General Public License can be found at 00015 * http://www.gnu.org/copyleft/gpl.html. 00016 * 00017 * This script is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * This copyright notice MUST APPEAR in all copies of the script! 00023 ***************************************************************/ 00024 00025 00026 /** 00027 * A fake time tracker that does nothing but providing the methods of the real time tracker. 00028 * This is done to save some performance over the real time tracker. 00029 * 00030 * @author Ingo Renner <ingo@typo3.org> 00031 * @package TYPO3 00032 * @subpackage t3lib 00033 */ 00034 class t3lib_TimeTrackNull { 00035 /** 00036 * "Constructor" 00037 * Sets the starting time 00038 * 00039 * does nothing 00040 * 00041 * @return void 00042 */ 00043 public function start() { 00044 } 00045 00046 /** 00047 * Pushes an element to the TypoScript tracking array 00048 * 00049 * does nothing 00050 * 00051 * @param string Label string for the entry, eg. TypoScript property name 00052 * @param string Additional value(?) 00053 * @return void 00054 */ 00055 public function push($tslabel, $value = '') { 00056 } 00057 00058 /** 00059 * Pulls an element from the TypoScript tracking array 00060 * 00061 * does nothing 00062 * 00063 * @param string The content string generated within the push/pull part. 00064 * @return void 00065 */ 00066 public function pull($content = '') { 00067 } 00068 00069 /** 00070 * Set TSselectQuery - for messages in TypoScript debugger. 00071 * 00072 * does nothing 00073 * 00074 * @param array Query array 00075 * @param string Message/Label to attach 00076 * @return void 00077 */ 00078 public function setTSselectQuery(array $data, $msg = '') { 00079 } 00080 00081 /** 00082 * Logs the TypoScript entry 00083 * 00084 * does nothing 00085 * 00086 * @param string The message string 00087 * @param integer Message type: 0: information, 1: message, 2: warning, 3: error 00088 * @return void 00089 */ 00090 public function setTSlogMessage($content, $num = 0) { 00091 } 00092 00093 /** 00094 * Print TypoScript parsing log 00095 * 00096 * does nothing 00097 * 00098 * @return string HTML table with the information about parsing times. 00099 */ 00100 public function printTSlog() { 00101 } 00102 00103 /** 00104 * Increases the stack pointer 00105 * 00106 * does nothing 00107 * 00108 * @return void 00109 */ 00110 public function incStackPointer() { 00111 } 00112 00113 /** 00114 * Decreases the stack pointer 00115 * 00116 * does nothing 00117 * 00118 * @return void 00119 */ 00120 public function decStackPointer() { 00121 } 00122 00123 /** 00124 * Gets a microtime value as milliseconds value. 00125 * 00126 * @param float $microtime: The microtime value - if not set the current time is used 00127 * @return integer The microtime value as milliseconds value 00128 */ 00129 public function getMilliseconds($microtime = NULL) { 00130 } 00131 00132 } 00133 00134 // XCLASSing is not possible for this class 00135 00136 ?>
1.8.0