class ControlGroup extends Object

A user group of form controls.

Properties

protected SplObjectStorage $controls

Methods

__construct()

No description

add()

No description

getControls()

No description

setOption($key, $value)

Sets user-specific option.

mixed
getOption($key, $default = NULL)

Returns user-specific option.

array
getOptions()

Returns user-specific options.

Details

at line 25
__construct()

No description

at line 34
ControlGroup add()

No description

Return Value

ControlGroup

at line 55
IControl[] getControls()

No description

Return Value

IControl[]

at line 74
ControlGroup setOption($key, $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

Parameters

$key
$value

Return Value

ControlGroup

at line 92
mixed getOption($key, $default = NULL)

Returns user-specific option.

Parameters

$key
$default

Return Value

mixed

at line 102
array getOptions()

Returns user-specific options.

Return Value

array