PEAR Manual
Prev |  | Next

# setRoot()

setRoot() -- Sets the file root for templates.

## Synopsis

    require_once 'HTML/Template/Sigma.php';

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

## Description

Sets the file root for templates. The file root gets prefixed to all filenames passed to the object.

## Parameter

string `$root`

  directory name

## Throws

throws no exceptions thrown

## See

see HTML_Template_Sigma::HTML_Template_Sigma()

## Note

This function can not be called statically.

Prev | Home | Next
setOption() | Up | setTemplate()