error in docs
| From: | Daniel Cummings | Date: | Thu, 01 Jul 2004 20:12:21 +0000 |
| Subject: | error in docs | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11517@lists.php.net to get a copy of this message | ||
http://smarty.php.net/manual/en/api.is.cached.php
is_cached() docs say nothing about a compile_id parameter, but my
is_cached() test doesn't work without sending one. I added a compile_id
parameter to each display() or fetch() call and after that my is_cached()
always returned true even though the file was actually written to cache.
I know about setting the global $compile_id but I didn't realize that
is_cached() accepts a compile_id parameter too.
Undocumented? or Deprecated?
Please enlighten.
dan