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

Interfaces

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

Class FormGroup

A user group of form controls.

Object
Extended by FormGroup
Package: Nette\Forms
Author: David Grudl
Located at Forms/ControlGroup.php
Methods summary
public
# __construct( )
public FormGroup
# add( )

Returns

FormGroup
public array
# getControls( )

Returns

array
IFormControl
public FormGroup
# setOption( string $key, mixed $value )

Sets user-specific option. Options recognized by DefaultFormRenderer

  • 'label' - textual or Html object label
  • 'visual' - indicates visual group
  • 'container' - container as Html object
  • 'description' - textual or Html object description
  • 'embedNext' - describes how render next group

Sets user-specific option. Options recognized by DefaultFormRenderer

  • 'label' - textual or Html object label
  • 'visual' - indicates visual group
  • 'container' - container as Html object
  • 'description' - textual or Html object description
  • 'embedNext' - describes how render next group

Parameters

$key
string
key
$value
mixed
value

Returns

FormGroup
public mixed
# getOption( string $key, mixed $default = NULL )

Returns user-specific option.

Returns user-specific option.

Parameters

$key
string
key
$default
mixed
default value

Returns

mixed
public array
# getOptions( )

Returns user-specific options.

Returns user-specific options.

Returns

array
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
protected SplObjectStorage $controls
#
Magic properties summary
public read-only array $controls
#
public read-only array $options
#
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