Afficher un message
Vieux 05/10/2006, 10h37   #1
Marcus Bointon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Clearing Smarty properties

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/
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/
  Réponse avec citation
 
Page generated in 0,04380 seconds with 9 queries