class BlockMacros extends MacroSet

Block macros.

Methods

static 
install(Compiler $compiler)

No description

void
initialize()

Initializes before template parsing.

finalize()

Finishes template parsing.

macroInclude(MacroNode $node, PhpWriter $writer)

{include #block}

macroIncludeBlock(MacroNode $node, PhpWriter $writer)

{includeblock "file"}

macroExtends(MacroNode $node, PhpWriter $writer)

{extends auto | none | $var | "file"}

macroBlock(MacroNode $node, PhpWriter $writer)

{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}

macroBlockEnd(MacroNode $node, PhpWriter $writer)

{/block} {/snippet} {/snippetArea} {/define}

macroIfset(MacroNode $node, PhpWriter $writer)

{ifset #block} {elseifset #block}

Details

at line 28
static install(Compiler $compiler)

No description

Parameters

Compiler $compiler

at line 48
void initialize()

Initializes before template parsing.

Return Value

void

at line 59
finalize()

Finishes template parsing.

at line 105
macroInclude(MacroNode $node, PhpWriter $writer)

{include #block}

Parameters

MacroNode $node
PhpWriter $writer

at line 140
macroIncludeBlock(MacroNode $node, PhpWriter $writer)

{includeblock "file"}

Parameters

MacroNode $node
PhpWriter $writer

at line 155
macroExtends(MacroNode $node, PhpWriter $writer)

{extends auto | none | $var | "file"}

Parameters

MacroNode $node
PhpWriter $writer

at line 186
macroBlock(MacroNode $node, PhpWriter $writer)

{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}

Parameters

MacroNode $node
PhpWriter $writer

at line 279
macroBlockEnd(MacroNode $node, PhpWriter $writer)

{/block} {/snippet} {/snippetArea} {/define}

Parameters

MacroNode $node
PhpWriter $writer

at line 315
macroIfset(MacroNode $node, PhpWriter $writer)

{ifset #block} {elseifset #block}

Parameters

MacroNode $node
PhpWriter $writer