Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • BaseControl
  • Button
  • Checkbox
  • HiddenField
  • ImageButton
  • MultiSelectBox
  • RadioList
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput
  • UploadControl
  • Overview
  • Namespace
  • Class
  • Tree

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\RadioList
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/RadioList.php
Methods summary
public
# __construct( string $label = NULL, array $items = NULL )

Parameters

$label
string
label
$items
array
options from which to choose

Overrides

Nette\Forms\Controls\BaseControl::__construct
public mixed
# getValue( boolean $raw = FALSE )

Returns selected radio value.

Returns selected radio value.

Parameters

$raw
boolean

Returns

mixed

Overrides

Nette\Forms\Controls\BaseControl::getValue

Implementation of

Nette\Forms\IControl::getValue
public boolean
# isFilled( )

Has been any radio button selected?

Has been any radio button selected?

Returns

boolean

Overrides

Nette\Forms\Controls\BaseControl::isFilled
public Nette\Forms\Controls\RadioList
# setItems( array $items )

Sets options from which to choose.

Sets options from which to choose.

Parameters

$items
array

Returns

Nette\Forms\Controls\RadioList
provides a fluent interface
final public array
# getItems( )

Returns options from which to choose.

Returns options from which to choose.

Returns

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

Returns separator HTML element template.

Returns separator HTML element template.

Returns

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

Returns container HTML element template.

Returns container HTML element template.

Returns

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

Generates control's HTML element.

Generates control's HTML element.

Parameters

$key
mixed

Returns

Nette\Utils\Html

Overrides

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

Generates label's HTML element.

Generates label's HTML element.

Parameters

$caption
string

Overrides

Nette\Forms\Controls\BaseControl::getLabel
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), hasErrors(), isDisabled(), isRequired(), loadHttpData(), setAttribute(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
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()
Constants inherited from Nette\ComponentModel\IComponent
NAME_SEPARATOR
Properties summary
protected Nette\Utils\Html $separator
#

separator element template

separator element template

protected Nette\Utils\Html $container
#

container element template

container element template

protected array $items array()
#
Properties inherited from Nette\Forms\Controls\BaseControl
$caption, $control, $idMask, $label, $value
Nette Framework 2.0.0 API API documentation generated by ApiGen 2.7.0