메소드 |
설명 |
|
__call ( string $funcName, array $arguments ) |
Magic call to locally inaccessible but associated helper functions |
|
get ( string $name, array $data = [], array $helperFunctions = [] ) : Template |
Template getter |
|
removeHelper ( string $funcName ) |
Removes a function |
|
render ( array $data = [], array $helperFunctions = [] ) : string |
Render template |
|
set ( array | string $data, string $value = null ) |
Adds more entries to the data for this template |
|
setHelper ( string $funcName, callable $funcDef ) |
Adds a function for use by the template |
|