CoreMacros
class CoreMacros extends MacroSet
Basic macros for Latte.
Methods
void
initialize()
Initializes before template parsing.
finalize()
Finishes template parsing.
string
string
void
void
void
string
string
string
string
string
string
void
string
string
void
void
void
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
string
void
string
string
void
void
string
void
void
Details
at line 36
static void
install(Compiler $compiler)
No description
at line 100
void
initialize()
Initializes before template parsing.
at line 110
finalize()
Finishes template parsing.
at line 341
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include [file] "file" [with blocks] [,] [params]}
at line 534
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
at line 664
string
macroVar(MacroNode $node, PhpWriter $writer)
{var ...} {default ...} {default} in {switch}
at line 841
void
macroVarType(MacroNode $node)
{varType type $var}
at line 860
string
macroVarPrint(MacroNode $node)
{varPrint [all]}
at line 872
void
macroTemplateType(MacroNode $node)
{templateType ClassName}
at line 884
void
macroTemplatePrint(MacroNode $node)
{templatePrint [ClassName]}