Lightweight template engine.
More...
|
| | token ($str) |
| |
| | resolve ($str, array $hive=NULL) |
| |
| | render ($file, $mime='text/html', array $hive=NULL, $ttl=0) |
| |
| | esc ($arg) |
| |
| | raw ($arg) |
| |
| | alias ($key, $arg=null) |
| |
| | render ($file, $mime='text/html', array $hive=NULL, $ttl=0) |
| |
| | afterrender ($func) |
| |
Lightweight template engine.
Assemble markup
- Returns
- string
- Parameters
-
| Preview::render |
( |
|
$file, |
|
|
|
$mime = 'text/html', |
|
|
array |
$hive = NULL, |
|
|
|
$ttl = 0 |
|
) |
| |
Render template
- Returns
- string
- Parameters
-
| $file | string |
| $mime | string |
| $hive | array |
| $ttl | int |
| Preview::resolve |
( |
|
$str, |
|
|
array |
$hive = NULL |
|
) |
| |
Render template string
- Returns
- string
- Parameters
-
Convert token to variable
- Returns
- string
- Parameters
-
The documentation for this class was generated from the following file: