clearVariables()

clearVariables() -- Clears the variables

Synopsis

require_once 'HTML/Template/Sigma.php';

void HTML_Template_Sigma::clearVariables (void)

Description

Global variables are not affected, only the ones set via setVariable(). The method is useful when you add a lot of variables via setVariable() and are not sure whether all of them appear in the block you parse(). If you clear the variables after parse(), you don't risk them suddenly showing up in other blocks.

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.