Class FormGroup (namespace Nette\Forms)
A user group of form controls.
Object | --FormGroup
| Public Method Summary | |
|---|---|
| FormGroup |
__construct
()
|
| FormGroup |
add
()
|
| array |
getControls
()
|
| mixed |
getOption
(string $key, [mixed $default =
NULL])
Returns user-specific option.
|
| array |
getOptions
()
Returns user-specific options.
|
| FormControl |
setOption
(string $key, mixed $value)
Sets user-specific option.
|
| Methods Inherited From Object |
|---|
| extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
| Variable Summary | ||||
|---|---|---|---|---|
| protected SplObjectStorage | $controls | |
line 37 |
|
| Method Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 44 __constructpublic FormGroup __construct ()
|
|||||||||||||||
|
line 54 addpublic FormGroup add ()
|
|||||||||||||||
|
line 77 getControlspublic array getControls ()
|
|||||||||||||||
|
line 117 getOptionpublic mixed getOption (string $key, [mixed $default = Returns user-specific option.
|
|||||||||||||||
|
line 128 getOptionspublic array getOptions () Returns user-specific options.
|
|||||||||||||||
|
line 98 setOptionpublic FormControl setOption (string $key, mixed $value) Sets user-specific option. Options recognized by ConventionalRenderer
|
|||||||||||||||
