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 35
SelectBox
setPrompt($prompt)
Sets first prompt item in select box.
at line 46
mixed
getPrompt()
Returns first prompt item?
at line 56
ChoiceControl
setItems(array $items, $useKeys = TRUE)
Sets options and option groups from which to choose.
at line 81
Html|string
getControl()
Generates control's HTML element.
at line 102
void
validate()
Performs the server side validation.