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

  • CacheMacro
  • CoreMacros
  • FormMacros
  • MacroSet
  • UIMacros
  • Overview
  • Package
  • Class
  • Tree

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

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

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

public
# macroAttrInput( MacroNode $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 MacroSet
__construct(), addMacro(), finalize(), getCompiler(), initialize(), nodeClosed(), nodeOpened()
Methods inherited from Object
__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