setCurrentBlock() | setOption() |
HTML_Template_Sigma | |
PEAR Manual | |
require_once 'HTML/Template/Sigma.php'; |
void HTML_Template_Sigma::setGlobalVariable (
mixed $variable
, string $value = ''
)
Sets a global variable value. Global variables are "special": they do not get cleared after substitution and do not make blocks not empty if substituted.
variable name or array ('varname'=>'value')
variable value if $variable is not an array
throws no exceptions thrown
This function can not be called statically.
setCurrentBlock() | setOption() |
HTML_Template_Sigma | |
PEAR Manual | |