PHP Class Nette\Forms\Controls\RadioList

Author: David Grudl
Inheritance: extends BaseControl
Show file Open project: nette/forms Class Usage Examples

Public Properties

Property Type Description
$generateId boolean

Protected Properties

Property Type Description
$container container element template
$itemLabel item label template
$separator separator element template

Public Methods

Method Description
__construct ( $label = NULL, array $items = NULL )
getContainerPrototype ( ) : Nette\Utils\Html Returns container HTML element template.
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
getControlPart ( $key = NULL ) : Nette\Utils\Html
getItemLabelPrototype ( ) : Nette\Utils\Html Returns item label HTML element template.
getLabel ( $caption = NULL ) : Nette\Utils\Html Generates label's HTML element.
getLabelPart ( $key = NULL ) : Nette\Utils\Html
getSeparatorPrototype ( ) : Nette\Utils\Html Returns separator HTML element template.

Method Details

__construct() public method

public __construct ( $label = NULL, array $items = NULL )
$items array

getContainerPrototype() public method

Returns container HTML element template.
public getContainerPrototype ( ) : Nette\Utils\Html
return Nette\Utils\Html

getControl() public method

Generates control's HTML element.
public getControl ( ) : Nette\Utils\Html
return Nette\Utils\Html

getControlPart() public method

public getControlPart ( $key = NULL ) : Nette\Utils\Html
return Nette\Utils\Html

getItemLabelPrototype() public method

Returns item label HTML element template.
public getItemLabelPrototype ( ) : Nette\Utils\Html
return Nette\Utils\Html

getLabel() public method

Generates label's HTML element.
public getLabel ( $caption = NULL ) : Nette\Utils\Html
return Nette\Utils\Html

getLabelPart() public method

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

getSeparatorPrototype() public method

Returns separator HTML element template.
public getSeparatorPrototype ( ) : Nette\Utils\Html
return Nette\Utils\Html

Property Details

$container protected property

container element template
protected $container

$generateId public property

public bool $generateId
return boolean

$itemLabel protected property

item label template
protected $itemLabel

$separator protected property

separator element template
protected $separator