Makrell Class Reference

Inheritance diagram for Makrell:

MakrellParser PregParser

List of all members.


Detailed Description

Main class, template engine.

Public Member Functions

 set ($var, $value=null)
 When called with two arguments, sets a template variable $var to $value. When called with one argument (which should be a hash of variables) adds all variables to the template.
 render ($path)
 Parse and include the template file and return the evaluated text.

Public Attributes

 $cachedir = ''
 If not empty, parsed templates will be cached in this directory.

The documentation for this class was generated from the following file:

Generated on Tue May 20 13:52:05 2008 for makrell by  doxygen 1.5.5