[SMARTY] Clearing Smarty properties
Marcus Bointon <[email protected]> Thu, 5 Oct 2006 10:37:38 +0100
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
I'm using Smarty for creating mailing list messages. In order to save instantiation overhead in the sending loop, I'd like to use a static Smarty instance and reset it each time around. Is there an easy way of clearing all smarty properties (like a $smarty->reset() function), for example removing all assigned vars? Or do I have to just clear them manually? Marcus -- Marcus Bointon Synchromedia Limited: Creators of http://www.smartmessages.net/ [email protected] | http://www.synchromedia.co.uk/ -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php