ControlGroup
class ControlGroup
A user group of form controls.
Properties
protected SplObjectStorage | $controls |
Methods
__construct()
No description
add(...$items)
No description
void
removeOrphans()
No description
array
getControls()
No description
setOption(string $key, $value)
Sets user-specific option.
mixed
getOption(string $key)
Returns user-specific option.
array
getOptions()
Returns user-specific options.
Details
at line 29
__construct()
No description
at line 36
ControlGroup
add(...$items)
No description
at line 59
void
remove(Control $control)
No description
at line 65
void
removeOrphans()
No description
at line 76
array
getControls()
No description
at line 93
ControlGroup
setOption(string $key, $value)
Sets user-specific option.
Options recognized by DefaultFormRenderer
- 'label' - textual or Nette\HtmlStringable object label
- 'visual' - indicates visual group
- 'container' - container as Html object
- 'description' - textual or Nette\HtmlStringable object description
- 'embedNext' - describes how render next group
at line 110
mixed
getOption(string $key)
Returns user-specific option.
at line 122
array
getOptions()
Returns user-specific options.
Traits
SmartObject