Makrell Class Reference
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: