Re: [SMARTY] Storing variables in the cache
| From: | messju mohr | Date: | Mon, 29 Aug 2005 13:17:07 +0000 |
| Subject: | Re: [SMARTY] Storing variables in the cache | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12998@lists.php.net to get a copy of this message | ||
On Mon, Aug 29, 2005 at 02:38:55PM +0200, Ivo Jansch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Ivo Jansch wrote:
>
> > I remember vaguely that it was possible to put data (php variables) in
> > Smarty's cache along with the cached template (for example to store the
> > time at witch the data in the cache was actually modified).
> >
> > I can't find it in the manual though. How can I make it work?
>
> anybody?
do $smarty->assign() inside {insert} or a non-cacheable function.
> - --
> Ivo Jansch <ivo@ibuildings.nl>
> ibuildings.nl BV - information technology
> http://www.ibuildings.nl
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
>
> iD8DBQFDEwHf95NUnGFZm9cRAifXAJsG7WD/TKxsSrSIXNHPGkS22KiY7wCfVUUG
> 9ecrwbuyU3NfVlX6hHIiYiw=
> =G1k9
> -----END PGP SIGNATURE-----
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php