Packages

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

Classes

  • NCacheMacro
  • NCoreMacros
  • NFormMacros
  • NMacroSet
  • NUIMacros
  • Overview
  • Package
  • Class
  • Tree

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 )
public
# macroLabel( NMacroNode $node, $writer )

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

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

public
# macroAttrInput( NMacroNode $node, $writer )

n:input

n:input

public static
# renderFormBegin( $form, $attrs )

Renders form begin.

Renders form begin.

public static string
# renderFormEnd( $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()
Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0