HTML_Template_IT::setVariable()

HTML_Template_IT::setVariable() -- set a variable

Synopsis

require_once 'HTML/Template/IT.php';

void HTML_Template_IT::setVariable (mixed $placeholder [, mixed $variable = ""])

Description

Set the value of a variable in the current template block. If $placeholder is an array the key of an element is treated as a placeholder name while the value is treated as it's substitution.

Paramètres

Exemple

Note

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

Voir aussi

HTML_Template_IT::parse()