Class FormGroup
A user group of form controls.
-
Object
-
FormGroup
Methods summary
public
|
|
public
FormGroup
|
|
public
array
|
|
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
|
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
|
Magic properties summary
public read-only
array
|
$controls
|
|
public read-only
array
|
$options
|
|