Method | Description | |
---|---|---|
assign ( $vars, $overwrite = true ) | Assigns variables to the template | |
file ( $filename ) | Defines the template file to be used | |
includePaths ( $paths ) | Adds one or more paths to the include dirs | |
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
output ( ) | * (non-phpdoc) | |
partial ( $template, $vars = [] ) | Renders a template in the context of the current template | |
stream ( ) | * (non-phpdoc) |
Method | Description | |
---|---|---|
_renderTemplate ( $template, $vars ) | Requires a template in the context of a function, with parameters extracted as php variables |
public includePaths ( $paths ) |
public partial ( $template, $vars = [] ) |