[TYPO3-dev] timer for debugging

Sigfried Arnold s.arnold at rebell.at
Mon Mar 8 22:11:00 CET 2010


Ernesto Baschny [cron IT] schrieb:
> Sigfried Arnold schrieb am 08.03.2010 15:58:
> If you read the code, there is no dependency on "TS" if you don't need it:
> 
> 1) start() remembers the start time


well,

calling t3lib_timetrack::start() does not work.

seems it won't work since the references are hardcoded to $this-> not to 
t3lib_timetrack:: or self::

Fatal error: Call to undefined method tx_example_pi1::mtime() in 
/var/www/typo3_src/typo3_src-4.2.12/t3lib/class.t3lib_timetrack.php on 
line 153

neither if i instantiate it first manualy

suggestions? ;)

regards,
Sigfried Arnold




More information about the TYPO3-dev mailing list