Function Description
|
clearAll()
|
clearAll() will remove all loops and variables from vlibTemplate (variables set using setLoop() and setVar()).
This is particularly useful if, for example, you're using vlibTemplate as an e-mail template and sending it to
many people. You will probably need different information in each e-mail, and can therefore use clearAll() and
then go about re-entering all of the variables.
Example
|
$tmpl->clearAll();
|