Re: [SMARTY] Problem clearing cache groups

From: Date: Wed, 14 Sep 2005 12:48:06 +0000
Subject: Re: [SMARTY] Problem clearing cache groups
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13035@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, messju mohr wrote: >>--- >>// clear the foo.tpl cache file with "sports|basketball" as the cache_id >>$smarty->clear_cache("foo.tpl","sports|basketball"); >>--- >> >>This is example is wrong then, > "clear the foo.tpl cache file with "sports|basketball" as > the >>cache_id<< ..." > > and *NOT*: > > "clear the foo.tpl cache file with "sports|basketball" as the I don't understand. Clearly, a | is used here, so we are talking about grouping. In fact, this example does the same as my code, namely, clear foo.tpl, using all cache_id's that start with the groups sports|basketball. In my original post, I demonstrated how this does clear foo.tpl/sports/basketball but not foo.tpl/sports/basketball/somedeepergroup Greetings, Ivo - -- 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 iD8DBQFDKBwG95NUnGFZm9cRAu4dAJ93QuIfper7aitsLDfHQCllh8m+3wCfUZez RbeAccO/UvUabXjJYV8JXX8= =dCN+ -----END PGP SIGNATURE-----

« previous php.smarty.general (#13035) next »