setGlobalVariable()

setGlobalVariable() -- Sets a global variable value.

概要

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.

パラメータ

mixed $variable

variable name or array ('varname'=>'value')

string $value

variable value if $variable is not an array

例外・エラー

throws no exceptions thrown

参照

see HTML_Template_Sigma::setVariable()

注意

この関数は、スタティックにコールする ことはできません。