Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Button
  • Checkbox
  • ConventionalRenderer
  • FileUpload
  • Form
  • FormContainer
  • FormControl
  • FormGroup
  • HiddenField
  • ImageButton
  • InstantClientScript
  • MultiSelectBox
  • RadioList
  • Rule
  • Rules
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class FormGroup

A user group of form controls.

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

Returns

Nette\Forms\FormGroup
provides a fluent interface
public array
# getControls( )

Returns

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

Sets user-specific option. Options recognized by ConventionalRenderer

  • '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 ConventionalRenderer

  • '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

Nette\Forms\FormGroup
provides a fluent interface
final 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
final public array
# getOptions( )

Returns user-specific options.

Returns user-specific options.

Returns

array
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
protected SplObjectStorage $controls
#
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0