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 101
void
initialize()
Initializes before template parsing.
at line 111
finalize()
Finishes template parsing.
at line 343
string
macroTranslate(MacroNode $node, PhpWriter $writer)
{_$var |modifiers} {translate|modifiers}
at line 381
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include [file] "file" [with blocks] [,] [params]}
at line 584
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
at line 721
string
macroVar(MacroNode $node, PhpWriter $writer)
{var ...} {default ...} {default} in {switch}
at line 930
void
macroVarType(MacroNode $node)
{varType type $var}
at line 950
string
macroVarPrint(MacroNode $node)
{varPrint [all]}
at line 962
void
macroTemplateType(MacroNode $node)
{templateType ClassName}
at line 975
void
macroTemplatePrint(MacroNode $node)
{templatePrint [ClassName]}