Re: [SMARTY] Storing variables in the cache

boots <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
--- Ivo Jansch <[email protected]> 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?

Hi Ivo. I'm not exactly sure what you mean by this. Perhaps you are
thinking about cache_attrs on plugins?

http://smarty.php.net/manual/en/caching.cacheable.php

Otherwise I'm not aware of any general in-built facility to
serialize/unserialize php data to and from the cache.

Greetings.


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.