HTML_Template_IT::setCurrentBlock() | HTML_Template_IT::setOption() |
HTML_Template_IT | |
PEAR Manual | |
require_once 'HTML/Template/IT.php'; |
void
HTML_Template_IT::setRoot (
string $root
)
Sets the path to the template directory where HTML_Template_IT::loadTemplatefile() searches for templates. Every filename is prefixed with the given string.
string $root - Path to the template directory.
Directorytree.
./ ./testscript.php ./templates/design01/main.tpl.htm ./templates/design01/table.tpl.htm ./templates/design02/main.tpl.htm ./templates/design02/table.tpl.htm |
script - testscript.php
|
This function can not be called statically.
HTML_Template_IT::setCurrentBlock() | HTML_Template_IT::setOption() |
HTML_Template_IT | |
PEAR Manual | |