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
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
string
string
string
void
void
string
void
void
Details
at line 36
static void
install(Compiler $compiler)
No description
at line 97
void
initialize()
Initializes before template parsing.
at line 107
finalize()
Finishes template parsing.
at line 343
string
macroInclude(MacroNode $node, PhpWriter $writer)
{include [file] "file" [with blocks] [,] [params]}
at line 432
void
macroSpaceless(MacroNode $node)
{spaceless} ... {/spaceless}
at line 509
string
macroBreakContinueIf(MacroNode $node, PhpWriter $writer)
{breakIf ...} {continueIf ...} {skipIf ...}
at line 602
string
macroVar(MacroNode $node, PhpWriter $writer)
{var ...} {default ...} {default} in {switch}
at line 793
void
macroVarType(MacroNode $node)
{varType type $var}
at line 813
string
macroVarPrint(MacroNode $node)
{varPrint [all]}
at line 825
void
macroTemplateType(MacroNode $node)
{templateType ClassName}
at line 838
void
macroTemplatePrint(MacroNode $node)
{templatePrint [ClassName]}