Compile time
| From: | Tom Sommer | Date: | Thu, 20 Feb 2003 14:46:19 +0000 |
| Subject: | Compile time | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7999@lists.php.net to get a copy of this message | ||
in my old phplib class I had modified it so that right before the compiler
was about to output the template, I had added two new variables called
RENDERTIME and QUERIES, these two (guess what they contain) were than added
to the template and compiled into the template.
How do I do this with smarty? I 've read about post filters, but they are
only run AFTER the compile, if I run the functions before the compile, the
actual render time will not show, only the one before the compile began...
Any ideas?
--
Tom Sommer
www.tsn.dk - www.dreamcoder.dk