Method | Description | |
---|---|---|
__construct ( $label = NULL, array $items = NULL ) | ||
addOptionAttributes ( array $attributes ) : self | ||
getControl ( ) : Nette\Utils\Html | Generates control's HTML element. | |
getPrompt ( ) : mixed | Returns first prompt item? | |
isOk ( ) : boolean | ||
setItems ( array $items, $useKeys = TRUE ) : self | Sets options and option groups from which to choose. | |
setPrompt ( $prompt ) : self | Sets first prompt item in select box. |
public addOptionAttributes ( array $attributes ) : self | ||
$attributes | array | |
return | self |
public getControl ( ) : Nette\Utils\Html | ||
return | Nette\Utils\Html |
public setPrompt ( $prompt ) : self | ||
return | self |