JavaScript Editor Javascript validator     Web page editor 



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 its substitution.

Parameter

Example

Note

This function can not be called statically.

See

HTML_Template_IT::parse()




JavaScript Editor Javascript validator     Web page editor