RE: [SMARTY] insert and cache
| From: | Gary Loescher | Date: | Tue, 06 Aug 2002 15:36:26 +0000 |
| Subject: | RE: [SMARTY] insert and cache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5605@lists.php.net to get a copy of this message | ||
The correct variable name is 'caching':
$smarty->caching = false;
You might also want to use 0 instead of false, since
the caching variable takes integers 0, 1, or 2.
Gary
>-----Original Message-----
>From: Johann [mailto:programisci_listy@murator.com.pl]
>Sent: Tuesday, August 06, 2002 3:22 AM
>To: smarty-general@lists.php.net
>Subject: [SMARTY] insert and cache
>Importance: High
>
>
>From inside my insert plugin:
>
>$smarty->assign('tmp', 'value');
>$smarty->cache = false;
>return $smarty->fetch('test.tpl')
>
>Result is cache although I do NOT want it. :-(
>
>--
>Johann
>
>
>--
>Smarty General Mailing List (http://smarty.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>