PEAR Manual
Prev |  | Next

# constructor HTML_Template_Sigma()

constructor HTML_Template_Sigma() -- constructor

## Synopsis

    require_once 'HTML/Template/Sigma.php';

``void HTML_Template_Sigma::HTML_Template_Sigma` ([string $root = '' [, string $cacheRoot = '']])`

## Description

Constructor: builds some complex regular expressions and optionally sets the root directories.

Make sure that you call this constructor if you derive your template class from this one.

## Parameter

string `$root`

  root directory for templates

string `$cacheRoot`

  directory to cache "prepared" templates in

## Throws

throws no exceptions thrown

## See

see HTML_Template_Sigma::setRoot(), HTML_Template_Sigma::setCacheRoot()

## Note

This function can not be called statically.

Prev | Home | Next
Introduction - cache | Up | addBlock()