UIMacros
final class UIMacros extends MacroSet
Latte v2 tags for Nette\Application\UI.
- {link destination ...} control link
- {plink destination ...} presenter link
- {snippet ?} ... {/snippet ?} control snippet
- n:nonce
Methods
static void
install(Compiler $compiler)
No description
void
initialize()
Initializes before template parsing.
finalize()
Finishes template parsing.
macroControl(MacroNode $node, PhpWriter $writer)
{control name[:method] [params]}
macroLink(MacroNode $node, PhpWriter $writer)
{link destination [,] [params]} {plink destination [,] [params]} n:href="destination [,] [params]"
macroIfCurrent(MacroNode $node, PhpWriter $writer)
{ifCurrent destination [,] [params]}
macroExtends(MacroNode $node, PhpWriter $writer)
{extends auto}
void
macroTemplatePrint(MacroNode $node)
{templatePrint [parentClass | default]}
Details
at line 36
static void
install(Compiler $compiler)
No description
at line 57
void
initialize()
Initializes before template parsing.
at line 67
finalize()
Finishes template parsing.
at line 83
macroControl(MacroNode $node, PhpWriter $writer)
{control name[:method] [params]}
at line 138
macroLink(MacroNode $node, PhpWriter $writer)
{link destination [,] [params]} {plink destination [,] [params]} n:href="destination [,] [params]"
at line 154
macroIfCurrent(MacroNode $node, PhpWriter $writer)
{ifCurrent destination [,] [params]}
at line 171
macroExtends(MacroNode $node, PhpWriter $writer)
{extends auto}
at line 184
void
macroTemplatePrint(MacroNode $node)
{templatePrint [parentClass | default]}