FormMacros
final class FormMacros extends MacroSet
Latte v2 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} {formClassPrint ClassName}
Details
at line 31
static void
install(Compiler $compiler)
No description
at line 52
macroForm(MacroNode $node, PhpWriter $writer)
{form ...}
at line 85
macroFormContext(MacroNode $node, PhpWriter $writer)
{formContext ...}
at line 114
macroFormContainer(MacroNode $node, PhpWriter $writer)
{formContainer ...}
at line 139
macroLabel(MacroNode $node, PhpWriter $writer)
{label ...}
at line 168
macroLabelEnd(MacroNode $node, PhpWriter $writer)
{/label}
at line 180
macroInput(MacroNode $node, PhpWriter $writer)
{input ...}
at line 209
macroNameAttr(MacroNode $node, PhpWriter $writer)
at line 257
macroName(MacroNode $node, PhpWriter $writer)
No description
at line 267
macroNameEnd(MacroNode $node, PhpWriter $writer)
No description
at line 290
macroInputError(MacroNode $node, PhpWriter $writer)
{inputError ...}
at line 316
macroFormPrint(MacroNode $node, PhpWriter $writer)
{formPrint ClassName} {formClassPrint ClassName}