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 373
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include [file] "file" [with blocks] [,] [params]}
at line 576
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
at line 713
string
macroVar(MacroNode $node, PhpWriter $writer)
{var ...} {default ...} {default} in {switch}
at line 904
void
macroVarType(MacroNode $node)
{varType type $var}
at line 924
string
macroVarPrint(MacroNode $node)
{varPrint [all]}
at line 936
void
macroTemplateType(MacroNode $node)
{templateType ClassName}
at line 949
void
macroTemplatePrint(MacroNode $node)
{templatePrint [ClassName]}