namespace Nette\Templates
Class SnippetHelper
Control snippet template helper.
- Nette\Object
-
Nette\Templates\SnippetHelper
public static
SnippetHelper
|
#
create(
Nette\Application\Control
$control,
string
$name = NULL,
string
$tag = 'div'
)
Starts conditional snippet rendering. Returns SnippetHelper object if snippet was started. Starts conditional snippet rendering. Returns SnippetHelper object if snippet was started. Parameters$control Control control$name string snippet name$tag string start element |
public
void
|
#
finish(
)
Finishes and saves the snippet. Finishes and saves the snippet. |
Methods Inherited From Nette\Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
static
bool
|
$outputAllowed | true |
# |