CoreMacros
class CoreMacros extends MacroSet
Basic macros for Latte.
Methods
void
initialize()
Initializes before template parsing.
finalize()
Finishes template parsing.
string
void
void
string
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include "file" [,] [params]} {sandbox "file" [,] [params]}
string
string
void
string
string
void
string
string
string
string
void
string
void
void
Details
at line 33
static void
install(Compiler $compiler)
No description
at line 88
void
initialize()
Initializes before template parsing.
at line 97
finalize()
Finishes template parsing.
at line 235
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include "file" [,] [params]} {sandbox "file" [,] [params]}
at line 300
void
macroSpaceless(MacroNode $node)
{spaceless} ... {/spaceless}
at line 378
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...}
at line 582
void
macroVarType(MacroNode $node)
{varType type $var}
at line 599
string
macroVarPrint(MacroNode $node)
{varPrint [all]}
at line 611
void
macroTemplateType(MacroNode $node)
{templateType ClassName}
at line 626
void
macroTemplatePrint(MacroNode $node)
{templatePrint [ClassName]}