Methods summary
public
|
#
__construct( string $label = NULL, array $items = NULL )
Parameters
- $label
string caption
- $items
Overrides
|
public
|
|
public
Nette\Forms\Controls\MultiChoiceControl
|
#
setValue( array $values )
Sets selected items (by keys).
Sets selected items (by keys).
Parameters
Returns
Overrides
|
public
array
|
#
getValue( )
Returns selected keys.
Returns
array
Overrides
|
public
array
|
#
getRawValue( )
Returns selected keys (not checked).
Returns selected keys (not checked).
Returns
array
|
public
boolean
|
#
isFilled( )
Is any item selected?
Returns
boolean
Overrides
|
public
Nette\Forms\Controls\MultiChoiceControl
|
#
setItems( array $items, boolean $useKeys = TRUE )
Sets items from which to choose.
Sets items from which to choose.
Parameters
- $items
array
- $useKeys
boolean
Returns
|
public
array
|
#
getItems( )
Returns items from which to choose.
Returns items from which to choose.
Returns
array
|
public
array
|
|
public
Nette\Forms\Controls\MultiChoiceControl
|
#
setDisabled( boolean|array $value = TRUE )
Disables or enables control or items.
Disables or enables control or items.
Parameters
Returns
Overrides
|
public
string
|
#
getHtmlName( )
Returns HTML name of control.
Returns HTML name of control.
Returns
string
Overrides
|