Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • BaseControl
  • Button
  • Checkbox
  • CheckboxList
  • ChoiceControl
  • CsrfProtection
  • HiddenField
  • ImageButton
  • MultiChoiceControl
  • MultiSelectBox
  • RadioList
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput
  • UploadControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class RadioList

Set of radio button controls.

Nette\Object
Extended by Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
Extended by Nette\Forms\Controls\BaseControl implements Nette\Forms\IControl
Extended by Nette\Forms\Controls\ChoiceControl
Extended by Nette\Forms\Controls\RadioList
Namespace: Nette\Forms\Controls
Located at Forms/Controls/RadioList.php
Methods summary
public
# __construct( string $label = NULL, array $items = NULL )

Parameters

$label
label
$items
from which to choose

Overrides

Nette\Forms\Controls\ChoiceControl::__construct()
public Nette\Utils\Html
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

Nette\Utils\Html
Html

Overrides

Nette\Forms\Controls\BaseControl::getControl()
public Nette\Utils\Html
# getLabel( string $caption = NULL )

Generates label's HTML element.

Generates label's HTML element.

Parameters

$caption

Returns

Nette\Utils\Html
Html

Overrides

Nette\Forms\Controls\BaseControl::getLabel()
public Nette\Utils\Html
# getControlPart( $key )

Returns

Nette\Utils\Html
Html
public Nette\Utils\Html
# getLabelPart( $key = NULL )

Returns

Nette\Utils\Html
Html
public Nette\Utils\Html
# getSeparatorPrototype( )

Returns separator HTML element template.

Returns separator HTML element template.

Returns

Nette\Utils\Html
Html
public Nette\Utils\Html
# getContainerPrototype( )

Returns container HTML element template.

Returns container HTML element template.

Returns

Nette\Utils\Html
Html
public Nette\Utils\Html
# getItemLabelPrototype( )

Returns item label HTML element template.

Returns item label HTML element template.

Returns

Nette\Utils\Html
Html
Methods inherited from Nette\Forms\Controls\ChoiceControl
getItems(), getRawValue(), getSelectedItem(), getValue(), isFilled(), loadHttpData(), setDisabled(), setItems()
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(), setHtmlAttribute(), setHtmlId(), setOmitted(), setOption(), setRequired(), setTranslator(), translate(), validate()
Methods inherited from Nette\ComponentModel\Component
__clone(), __sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from Nette\ComponentModel\IComponent
setParent()
Methods inherited from Nette\Forms\IControl
setValue()
Constants inherited from Nette\ComponentModel\IComponent
NAME_SEPARATOR
Properties summary
public boolean $generateId
#FALSE
protected Nette\Utils\Html $separator

separator element template

separator element template

#
protected Nette\Utils\Html $container

container element template

container element template

#
protected Nette\Utils\Html $itemLabel

item label template

item label template

#
Properties inherited from Nette\Forms\Controls\ChoiceControl
$checkAllowedValues
Properties inherited from Nette\Forms\Controls\BaseControl
$caption, $control, $disabled, $idMask, $label, $value
Magic properties summary
public read-only Nette\Utils\Html $separatorPrototype
public read-only Nette\Utils\Html $containerPrototype
public read-only Nette\Utils\Html $itemLabelPrototype
Magic properties inherited from Nette\Forms\Controls\ChoiceControl
$items, $selectedItem
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control, $controlPrototype, $disabled, $errors, $form, $htmlId, $htmlName, $label, $labelPrototype, $omitted, $required, $value
Magic properties inherited from Nette\ComponentModel\Component
$name, $parent
Magic properties inherited from Nette\Object
$reflection
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0