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 NFormMacros

Macros for NForms.

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

Overrides

NMacroSet::install()
public
# macroLabel( NMacroNode $node, NPhpWriter $writer )

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

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

public
# macroAttrName( NMacroNode $node, NPhpWriter $writer )

<input n:name> or alias n:input

<input n:name> or alias n:input

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

Renders form begin.

Renders form begin.

public static string
# renderFormEnd( NForm $form )

Renders form end.

Renders form end.

Returns

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