Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • FormMacros
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class FormMacros

Latte macros for Nette\Forms.

  • {form name} ... {/form}
  • {input name}
  • {label name /} or {label name}... {/label}
  • {inputError name}
  • {formContainer name} ... {/formContainer}
Latte\Object
Extended by Latte\Macros\MacroSet implements Latte\IMacro
Extended by Nette\Bridges\FormsLatte\FormMacros
Namespace: Nette\Bridges\FormsLatte
Located at Bridges/FormsLatte/FormMacros.php
Methods summary
public static
# install( Latte\Compiler $compiler )
public
# macroForm( Latte\MacroNode $node, Latte\PhpWriter $writer )

{form ...}

{form ...}

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

{formContainer ...}

{formContainer ...}

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

{label ...}

{label ...}

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

{/label}

{/label}

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

{input ...}

{input ...}

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

deprecated n:input

deprecated n:input

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

<form n:name>, <input n:name>, <select n:name>, <textarea n:name>, <label n:name> and <button n:name>

<form n:name>, <input n:name>, <select n:name>, <textarea n:name>, <label n:name> and <button n:name>

public
# macroName( Latte\MacroNode $node, Latte\PhpWriter $writer )
public
# macroNameEnd( Latte\MacroNode $node, Latte\PhpWriter $writer )
public
# macroInputError( Latte\MacroNode $node, Latte\PhpWriter $writer )

{inputError ...}

{inputError ...}

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

Deprecated

public static
# renderFormEnd( Nette\Forms\Form $form, $withTags = TRUE )

Deprecated

Methods inherited from Latte\Macros\MacroSet
__construct(), addMacro(), finalize(), getCompiler(), initialize(), nodeClosed(), nodeOpened()
Methods inherited from Latte\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset()
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0