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 ...}
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
static
Details
at line 31
static
install(Compiler $compiler)
No description
at line 49
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
at line 73
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
at line 92
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
at line 115
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
at line 127
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
at line 150
macroInputAttr(MacroNode $node, PhpWriter $writer)
deprecated n:input
at line 159
macroNameAttr(MacroNode $node, PhpWriter $writer)
at line 193
macroName(MacroNode $node, PhpWriter $writer)
No description
at line 203
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
at line 226
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
at line 243
static
renderFormBegin(Form $form, array $attrs, $withTags = TRUE)
deprecated
deprecated
No description
at line 250
static
renderFormEnd(Form $form, $withTags = TRUE)
deprecated
deprecated
No description