PHP Class Nette\Forms\Controls\CheckboxList

Inheritance: extends MultiChoiceControl
ファイルを表示 Open project: nette/forms Class Usage Examples

Protected Properties

Property Type Description
$container container element 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
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

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_oe property

container element template
protected $container

$separator protected_oe property

separator element template
protected $separator