Introduction - cache addBlock()

HTML_Template_Sigma

PEAR Manual


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

Note

This function can not be called statically.



Introduction - cache addBlock()

HTML_Template_Sigma

PEAR Manual