Class RadioList
Set of radio button controls.
-
Nette\Object
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\ChoiceControl
-
Nette\Forms\Controls\RadioList
Methods summary
public
|
#
__construct( string $label = NULL, array $items = NULL )
Parameters
- $label
string label
- $items
array options from which to choose
Overrides
|
public
mixed
|
#
getValue( $raw = FALSE )
Returns selected radio value.
Returns selected radio value.
Returns
mixed
Overrides
|
public
Nette\Utils\Html
|
#
getSeparatorPrototype( )
Returns separator HTML element template.
Returns separator HTML element template.
Returns
|
public
Nette\Utils\Html
|
#
getContainerPrototype( )
Returns container HTML element template.
Returns container HTML element template.
Returns
|
public
Nette\Utils\Html
|
#
getControl( $key = NULL )
Generates control's HTML element.
Generates control's HTML element.
Returns
Overrides
|
public
Nette\Utils\Html
|
#
getLabel( string $caption = NULL, $key = NULL )
Generates label's HTML element.
Generates label's HTML element.
Parameters
Returns
Overrides
|
public
Nette\Utils\Html
|
|
public
Nette\Utils\Html
|
|
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
exportRules(),
getControlPrototype(),
getError(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getHttpData(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
hasErrors(),
isDisabled(),
isOmitted(),
isRequired(),
setAttribute(),
setDefaultValue(),
setHtmlId(),
setOmitted(),
setOption(),
setRequired(),
setTranslator(),
translate(),
validate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$rules,
$translator,
$value
|