Template engine.
More...
|
| | token ($str) |
| |
| | extend ($tag, $func) |
| |
| | __call ($func, array $args) |
| |
| | render ($file, $mime='text/html', array $hive=NULL) |
| |
| | render ($file, $mime='text/html', array $hive=NULL) |
| |
|
|
| $tags |
| | Template tags.
|
| |
|
| $custom =array() |
| | Custom tag handlers.
|
| |
|
|
const | E_Method ='Call to undefined method %s()' |
| |
|
| $hive |
| | Local hive.
|
| |
| Template::__call |
( |
|
$func, |
|
|
array |
$args |
|
) |
| |
Call custom tag handler
- Returns
- string|FALSE
- Parameters
-
| Template::_case |
( |
array |
$node) | |
|
|
protected |
Template -case- tag handler
- Returns
- string
- Parameters
-
| Template::_check |
( |
array |
$node) | |
|
|
protected |
Template -check- tag handler
- Returns
- string
- Parameters
-
| Template::_default |
( |
array |
$node) | |
|
|
protected |
Template -default- tag handler
- Returns
- string
- Parameters
-
Template -exclude- tag handler
- Returns
- string
| Template::_false |
( |
array |
$node) | |
|
|
protected |
Template -false- tag handler
- Returns
- string
- Parameters
-
| Template::_ignore |
( |
array |
$node) | |
|
|
protected |
Template -ignore- tag handler
- Returns
- string
- Parameters
-
| Template::_include |
( |
array |
$node) | |
|
|
protected |
Template -include- tag handler
- Returns
- string
- Parameters
-
| Template::_loop |
( |
array |
$node) | |
|
|
protected |
Template -loop- tag handler
- Returns
- string
- Parameters
-
| Template::_repeat |
( |
array |
$node) | |
|
|
protected |
Template -repeat- tag handler
- Returns
- string
- Parameters
-
| Template::_set |
( |
array |
$node) | |
|
|
protected |
Template -set- tag handler
- Returns
- string
- Parameters
-
| Template::_switch |
( |
array |
$node) | |
|
|
protected |
Template -switch- tag handler
- Returns
- string
- Parameters
-
| Template::_true |
( |
array |
$node) | |
|
|
protected |
Template -true- tag handler
- Returns
- string
- Parameters
-
Assemble markup
- Returns
- string
- Parameters
-
| Template::extend |
( |
|
$tag, |
|
|
|
$func |
|
) |
| |
Extend template with custom tag
- Returns
- NULL
- Parameters
-
| Template::render |
( |
|
$file, |
|
|
|
$mime = 'text/html', |
|
|
array |
$hive = NULL |
|
) |
| |
Render template
- Returns
- string
- Parameters
-
| $file | string |
| $mime | string |
| $hive | array |
Convert token to variable
- Returns
- string
- Parameters
-
The documentation for this class was generated from the following file: