SelectBox
class SelectBox extends ChoiceControl
Select box control that allows single item selection.
Constants
VALID |
validation rule |
Methods
mixed
getPrompt()
Returns first prompt item?
setItems(array $items, $useKeys = TRUE)
Sets options and option groups from which to choose.
Html|string
getControl()
Generates control's HTML element.
void
validate()
Performs the server side validation.
Details
at line 33
SelectBox
setPrompt($prompt)
Sets first prompt item in select box.
at line 44
mixed
getPrompt()
Returns first prompt item?
at line 54
ChoiceControl
setItems(array $items, $useKeys = TRUE)
Sets options and option groups from which to choose.
at line 79
Html|string
getControl()
Generates control's HTML element.
at line 100
void
validate()
Performs the server side validation.