Class CoreMacros
Basic macros for Latte.
- {if ?} ... {elseif ?} ... {else} ... {/if}
- {ifset ?} ... {elseifset ?} ... {/ifset}
- {for ?} ... {/for}
- {foreach ?} ... {/foreach}
- {$variable} with escaping
- {!$variable} without escaping
- {=expression} echo with escaping
- {!=expression} echo without escaping
- {?expression} evaluate PHP statement
- {_expression} echo translation with escaping
- {!_expression} echo translation without 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}
- {l} {r} to display { }
public static
|
|
public
array(prolog,
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public static
|
__construct(),
addMacro(),
getCompiler(),
initialize(),
nodeClosed(),
nodeOpened()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
$reflection
|