Class NSnippetHelper
Control snippet template helper.
-
NObject
-
NSnippetHelper
Methods summary
public static
NSnippetHelper
|
#
create( NControl $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
NControl
control
- $name
string snippet name
- $tag
string start element
Returns
|
public
|
#
finish( )
Finishes and saves the snippet.
Finishes and saves the snippet.
|