PHP Class Nette\Forms\Controls\MultiSelectBox

Inheritance: extends SelectBox
Afficher le fichier Open project: nette/forms Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $label = NULL, array $items = NULL )
addOptionAttributes ( array $attributes ) : self
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
setItems ( array $items, $useKeys = TRUE ) : self Sets options and option groups from which to choose.

Method Details

__construct() public méthode

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

addOptionAttributes() public méthode

public addOptionAttributes ( array $attributes ) : self
$attributes array
Résultat self

getControl() public méthode

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

setItems() public méthode

Sets options and option groups from which to choose.
public setItems ( array $items, $useKeys = TRUE ) : self
$items array
Résultat self