Class SnippetHelper (namespace Nette\Templates)
Control snippet template helper.
Object | --SnippetHelper
Public Method Summary | |
---|---|
static SnippetHelper |
Starts conditional snippet rendering. Returns SnippetHelper object if snippet was started.
|
void |
finish
()
Finishes and saves the snippet.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary | ||||
---|---|---|---|---|
static bool | $outputAllowed | TRUE |
line 37 |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 60 createpublic static SnippetHelper create ($control, [string $name = Starts conditional snippet rendering. Returns SnippetHelper object if snippet was started.
|
||||||||||||||||||
line 88 finishpublic void finish () Finishes and saves the snippet.
|