clearVariables() – Clears the variables


require_once 'HTML/Template/Sigma.php';

void HTML_Template_Sigma::clearVariables ( void )


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.


throws no exceptions thrown


This function can not be called statically.

Checks if the block exists in the template (Previous) Returns a textual error message for an error code (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.