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.

Paramètres

Exemple

Note

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

Voir aussi

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