Packages

  • 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

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class FormMacros

Macros for Forms.

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

Overrides

MacroSet::install()
public
# macroLabel( MacroNode $node, PhpWriter $writer )

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

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

public
# macroAttrName( MacroNode $node, PhpWriter $writer )

<input n:name> or alias n:input

<input n:name> or alias n:input

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

Renders form begin.

Renders form begin.

public static string
# renderFormEnd( Form $form )

Renders form end.

Renders form end.

Returns

string
Methods inherited from MacroSet
__construct(), addMacro(), finalize(), getCompiler(), initialize(), nodeClosed(), nodeOpened()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0