Class NCurlyBracketsMacros
Default macros for filter LatteFilter.
- {$variable} with escaping
- {!$variable} without escaping
- {*comment*} will be removed
- {=expression} echo with escaping
- {!=expression} echo without escaping
- {?expression} evaluate PHP statement
- {_expression} echo translation with escaping
- {!_expression} echo translation without escaping
- {link destination ...} control link
- {plink destination ...} presenter link
- {if ?} ... {elseif ?} ... {else} ... {/if}
- {ifset ?} ... {elseifset ?} ... {/if}
- {for ?} ... {/for}
- {foreach ?} ... {/foreach}
- {include ?}
- {cache ?} ... {/cache} cached block
- {snippet ?} ... {/snippet ?} control snippet
- {attr ?} HTML element attributes
- {block|texy} ... {/block} block
- {contentType ...} HTTP Content-Type header
- {status ...} HTTP status
- {capture ?} ... {/capture} capture block to parameter
- {var var => value} set template parameter
- {default var => value} set default template parameter
- {dump $var}
- {debugbreak}
-
NObject
-
NLatteMacros
-
NCurlyBracketsMacros
Methods inherited from NLatteMacros
__construct(),
attrsMacro(),
callBlock(),
callBlockParent(),
finalize(),
includeTemplate(),
initRuntime(),
initialize(),
macro(),
macroAssign(),
macroAttr(),
macroBlock(),
macroBlockEnd(),
macroCapture(),
macroCaptureEnd(),
macroContentType(),
macroDefault(),
macroDump(),
macroEscape(),
macroExtends(),
macroForeach(),
macroIfCurrent(),
macroInclude(),
macroLink(),
macroModifiers(),
macroPlink(),
macroSnippet(),
macroSnippetEnd(),
macroSyntax(),
macroTranslate(),
macroVar(),
macroWidget(),
tagMacro()
|