FormMacros
class FormMacros extends MacroSet
Latte 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 ...}
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
static
Details
at line 28
static
install(Compiler $compiler)
No description
at line 46
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
at line 72
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
at line 93
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
at line 117
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
at line 129
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
at line 154
macroNameAttr(MacroNode $node, PhpWriter $writer)
at line 194
macroName(MacroNode $node, PhpWriter $writer)
No description
at line 204
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
at line 226
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
at line 244
static
renderFormBegin(Form $form, array $attrs, $withTags = true)
deprecated
deprecated
No description
at line 252
static
renderFormEnd(Form $form, $withTags = true)
deprecated
deprecated
No description