FormMacros
final 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}
- {formContext name} ... {/formContext}
Methods
static void
install(Compiler $compiler)
No description
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
macroFormContext(MacroNode $node, PhpWriter $writer)
{formContext ...}
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 ...}
macroFormPrint(MacroNode $node, PhpWriter $writer)
{formPrint [ClassName]}
Details
at line 31
static void
install(Compiler $compiler)
No description
at line 51
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
at line 77
macroFormContext(MacroNode $node, PhpWriter $writer)
{formContext ...}
at line 101
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
at line 122
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
at line 146
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
at line 158
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
at line 183
macroNameAttr(MacroNode $node, PhpWriter $writer)
at line 223
macroName(MacroNode $node, PhpWriter $writer)
No description
at line 233
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
at line 255
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
at line 275
macroFormPrint(MacroNode $node, PhpWriter $writer)
{formPrint [ClassName]}