Generates 'select' list of options.
string
formSelect
(string|array $name, [mixed $value = null], [array|string $attribs = null], [array $options = null], [string $listsep = "
\n"])
-
string|array
$name: If a string, the element name. If an array, all other parameters are ignored, and the array elements are extracted in place of added parameters.
-
mixed
$value: The option value to mark as 'selected'; if an array, will mark all values in the array as 'selected' (used for multiple-select elements).
-
array|string
$attribs: Attributes added to the 'select' tag.
-
array
$options: An array of key-value pairs where the array key is the radio value, and the array value is the radio text.
-
string
$listsep: When disabled, use this list separator string between list values.
Inherited Methods
Inherited From Zend_View_Helper_FormElement
Zend_View_Helper_FormElement::_getInfo()
Zend_View_Helper_FormElement::_hidden()
Zend_View_Helper_FormElement::_htmlAttribs()