BlockMacros
class BlockMacros extends MacroSet
Block macros.
Methods
void
initialize()
Initializes before template parsing.
finalize()
Finishes template parsing.
macroBlock(MacroNode $node, PhpWriter $writer)
{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}
static void
Details
at line 31
static
install(Compiler $compiler)
No description
at line 51
void
initialize()
Initializes before template parsing.
at line 62
finalize()
Finishes template parsing.
at line 181
macroBlock(MacroNode $node, PhpWriter $writer)
{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}
at line 274
macroBlockEnd(MacroNode $node, PhpWriter $writer)
{/block} {/snippet} {/snippetArea} {/define}
at line 331
static void
callBlock(stdClass $context, $name, array $params)
Calls block.
at line 345
static void
callBlockParent(stdClass $context, $name, array $params)
Calls parent block.