HTML_Template_IT::setRoot()

HTML_Template_IT::setRoot()

HTML_Template_IT::setRoot() -- set the template root directory

Synopsis

require_once 'HTML/Template/IT.php';

void HTML_Template_IT::setRoot (string $root)

Description

Sets the path to the template directory where HTML_Template_IT::loadTemplatefile() searches for templates. Every filename is prefixed with the given string.

Parameter

Example

Note

This function can not be called statically.

See

HTML_Template_IT::HTML_Template_IT(), HTML_Template_IT::loadTemplatefile()