RE: [SMARTY] unset variables
| From: | Andreas Otterstein | Date: | Mon, 19 Jan 2004 11:13:04 +0000 |
| Subject: | RE: [SMARTY] unset variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10841@lists.php.net to get a copy of this message | ||
Hi,
There are some functions in smarty.
take $smarty->clear_assign($var);
If you want to unset all variables take $smarty->clear_all_assign();
Andy
office@e-lite.at
http://www.e-lite.at
----
Von: Gerard L Petersen [mailto:gerard@gamelink.co.za]
Gesendet: Montag, 19. Januar 2004 12:00
An: smarty-general@lists.php.net
Betreff: [SMARTY] unset variables
hi all
is there a command to unset all variables that have been assigned
or should i manually do something like this
assign('data', '');
thanks
-gerard l petersen