Property | Type | Description | |
---|---|---|---|
$blocks | |||
$helpers | |||
$imports | |||
$loader | |||
$macros | |||
$parent | |||
$stack |
Method | Description | |
---|---|---|
__construct ( $loader, $helpers = [] ) | ||
display ( $context = [], $blocks = [], $macros = [], $imports = [] ) | ||
displayBlock ( $name, $context, $blocks, $macros, $imports ) | ||
displayParent ( $name, $context, $blocks, $macros, $imports ) | ||
expandMacro ( $module, $name, $params, $context, $macros, $imports ) | ||
getAttr ( $obj, $attr, $args = [] ) | ||
getBlocks ( ) | ||
getImports ( ) | ||
getLineTrace ( Exception $e = null ) | ||
getMacros ( ) | ||
helper ( $name, $args = [] ) | ||
iterate ( $context, $seq ) | ||
loadExtends ( $template ) | ||
loadImport ( $template ) | ||
loadInclude ( $template ) | ||
popContext ( &$context, $name ) | ||
pushContext ( &$context, $name ) | ||
render ( $context = [], $blocks = [], $macros = [], $imports = [] ) | ||
setAttr ( &$obj, $attrs, $value ) |
abstract public display ( $context = [], $blocks = [], $macros = [], $imports = [] ) |
public expandMacro ( $module, $name, $params, $context, $macros, $imports ) |