Re: SV: Assign in prefilter
| From: | Andrei Zmievski | Date: | Fri, 22 Mar 2002 14:19:00 +0000 |
| Subject: | Re: SV: Assign in prefilter | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3274@lists.php.net to get a copy of this message | ||
On Fri, 22 Mar 2002, Andreas Heintze wrote:
> This gives you the ability to assign vars in a prefilter.
This has already been corrected for the next release but it has nothing
to do with compiled/cached distinction.
> But a cache should hold the output of the compiled template, but is the
> cache php code too, which needs the $smarty->assign to be run?
No. The cache is a plain text or HTML with possible embedded code
specifying locations of {insert} tags.
-Andrei
Work is of two kinds: first, altering the position of matter at or near
the earth's surface relatively to other matter; second, telling other people
to do so. The first kind is unpleasant and ill-paid, the second is pleasant
and highly paid. -- Bertrand Russell