FormMacros
class FormMacros extends MacroSet
Macros for Nette\Forms.
- {form name} ... {/form}
- {input name}
- {label name /} or {label name}... {/label}
- {inputError name}
- {formContainer name} ... {/formContainer}
Methods
static
install(Compiler $compiler)
No description
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
macroInputAttr(MacroNode $node, PhpWriter $writer)
deprecated n:input
macroNameAttr(MacroNode $node, PhpWriter $writer)
macroName(MacroNode $node, PhpWriter $writer)
No description
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
static void
static string
Details
at line 33
static
install(Compiler $compiler)
No description
at line 51
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
at line 73
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
at line 89
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
at line 109
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
at line 121
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
at line 141
macroInputAttr(MacroNode $node, PhpWriter $writer)
deprecated n:input
at line 150
macroNameAttr(MacroNode $node, PhpWriter $writer)
at line 185
macroName(MacroNode $node, PhpWriter $writer)
No description
at line 195
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
at line 210
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
at line 230
static void
renderFormBegin(Form $form, array $attrs, $withTags = TRUE)
Renders form begin.
at line 250
static string
renderFormEnd(Form $form, $withTags = TRUE)
Renders form end.