Helping ordinary people create extraordinary websites!


HTML_Template_IT::setRoot()

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

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

  • string $root - Path to the template directory.

Note

This function can not be called statically.