Re: [SMARTY] error in docs
| From: | messju mohr | Date: | Fri, 02 Jul 2004 07:16:02 +0000 |
| Subject: | Re: [SMARTY] error in docs | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11519@lists.php.net to get a copy of this message | ||
On Thu, Jul 01, 2004 at 04:12:21PM -0400, Daniel Cummings wrote:
> 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.
you mean "always returned false"?
> 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?
undocumented.
> Please enlighten.
> dan