HTML_Template_IT::setTemplate()

HTML_Template_IT::setTemplate()

HTML_Template_IT::setTemplate() -- set a template

Synopsis

require_once 'HTML/Template/IT.php';

boolean HTML_Template_IT::setTemplate (string $template [, boolean $removeUnkownVariables = TRUE [, boolean $removeEmptyBlocks = TRUE]])

Description

Loads template from a string and controls the behavior in case of unused variables and blocks

Parameter

Return value

boolean - Returns TRUE on success, FALSE on failure.

Example

Note

This function can not be called statically.

See

HTML_Template_IT::setTemplatefile()