setGlobalVariable() -- Sets a global variable value.
Description
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.
Parameter
- mixed
$variable
variable name or array ('varname'=>'value')
- string
$value
variable value if $variable is not an array
Throws
throws no exceptions thrown
Note
This function can not be called
statically.