Class CoreMacros
Basic macros for Latte.
- {if ?} ... {elseif ?} ... {else} ... {/if}
- {ifset ?} ... {elseifset ?} ... {/ifset}
- {for ?} ... {/for}
- {foreach ?} ... {/foreach}
- {$variable} with escaping
- {=expression} echo with escaping
- {?expression} evaluate PHP statement
- {_expression} echo translation with escaping
- {attr ?} HTML element attributes
- {capture ?} ... {/capture} capture block to parameter
- {var var => value} set template parameter
- {default var => value} set default template parameter
- {dump $var}
- {debugbreak}
- {contentType ...} HTTP Content-Type header
- {status ...} HTTP status
- {l} {r} to display { }
- Latte\Object
- Latte\Macros\MacroSet implements Latte\IMacro
- Latte\Macros\CoreMacros
public static
|
|
public
array(prolog,
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
macroBreakContinueIf(
{breakIf ...} {continueIf ...} |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
__construct(),
addMacro(),
getCompiler(),
initialize(),
nodeClosed(),
nodeOpened()
|
__call(),
__get(),
__isset(),
__set(),
__unset()
|