Re: [SMARTY] error in docs
| From: | Daniel Cummings | Date: | Tue, 06 Jul 2004 14:48:39 +0000 |
| Subject: | Re: [SMARTY] error in docs | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11527@lists.php.net to get a copy of this message | ||
On 7/2/04 3:16 AM, "messju mohr" <messju@lammfellpuschen.de> wrote:
> 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"?
yes, since I always use not is_cached() I got mixed up... but I gather the
meaning was clear from the context.
>> 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.
so, is this the right way to go about using compile_id parameter? Is this
feature at risk of being removed? i need to be able to name compile dirs
using compile ids so i can see them being created and then target them for
deleting later so i can't just use the global compile_id.
>> Please enlighten.
>> dan
thanks for enlightenment.
dan