Methods summary
public
|
#
__construct( string|object $label = null, array $items = null )
|
public
|
|
public
Nette\Forms\Controls\ChoiceControl
|
#
setValue( string|integer $value )
Sets selected item (by key).
Sets selected item (by key).
Parameters
Returns
Internal
Overrides
|
public
string|integer
|
#
getValue( )
Returns selected key.
Returns
string|integer string|int
Overrides
|
public
string|integer
|
#
getRawValue( )
Returns selected key (not checked).
Returns selected key (not checked).
Returns
string|integer string|int
|
public
boolean
|
#
isFilled( )
Is any item selected?
Returns
boolean bool
Overrides
|
public
Nette\Forms\Controls\ChoiceControl
|
#
setItems( array $items, boolean $useKeys = true )
Sets items from which to choose.
Sets items from which to choose.
Parameters
Returns
|
public
array
|
#
getItems( )
Returns items from which to choose.
Returns items from which to choose.
Returns
array array
|
public
mixed
|
|
public
Nette\Forms\Controls\ChoiceControl
|
#
setDisabled( boolean|array $value = true )
Disables or enables control or items.
Disables or enables control or items.
Parameters
Returns
Overrides
|
public
Nette\Forms\Controls\ChoiceControl
|
|