Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • CacheMacro
  • CoreMacros
  • FormMacros
  • MacroSet
  • UIMacros
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class FormMacros

Macros for Nette\Forms.

  • {form name} ... {/form}
  • {input name}
  • {label name /} or {label name}... {/label}
  • {formContainer name} ... {/formContainer}
Nette\Object
Extended by Nette\Latte\Macros\MacroSet implements Nette\Latte\IMacro
Extended by Nette\Latte\Macros\FormMacros
Namespace: Nette\Latte\Macros
Author: David Grudl
Located at Latte/Macros/FormMacros.php
Methods summary
public static
# install( Nette\Latte\Compiler $compiler )

Overrides

Nette\Latte\Macros\MacroSet::install()
public
# macroLabel( Nette\Latte\MacroNode $node, Nette\Latte\PhpWriter $writer )

{label ...} and optionally {/label}

{label ...} and optionally {/label}

public
# macroAttrName( Nette\Latte\MacroNode $node, Nette\Latte\PhpWriter $writer )

<input n:name> or alias n:input

<input n:name> or alias n:input

public static
# renderFormBegin( Nette\Forms\Form $form, array $attrs )

Renders form begin.

Renders form begin.

public static string
# renderFormEnd( Nette\Forms\Form $form )

Renders form end.

Renders form end.

Returns

string
Methods inherited from Nette\Latte\Macros\MacroSet
__construct(), addMacro(), finalize(), getCompiler(), initialize(), nodeClosed(), nodeOpened()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties inherited from Nette\Object
$reflection
Nette 2.0 API documentation generated by ApiGen 2.8.0