PEAR Manual
Prev |  | Next

# HTML_Template_IT::setRoot()

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

## Synopsis

    require_once 'HTML/Template/IT.php';

``void IntegratedTemplate::setRoot` (string $root)`

## Description

The given string will be prefixed to all file names passed to the object. In the most cases, the directory where the template files reside.

## Parameter

- `string $template` - template

## Note

This function can not be called statically.

## See

HTML_Template_IT::HTML_Template_IT()

Prev | Home | Next
HTML_Template_IT::setCurrentBlock() | Up | HTML_Template_IT::setTemplate()