Class Zend_View_Helper_FormSelect

Description

Helper to generate "select" list of options

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/View/Helper/FormSelect.php (line 38)

Zend_View_Helper_FormElement
   |
   --Zend_View_Helper_FormSelect
Method Summary
string formSelect (string|array $name, [mixed $value = null], [array|string $attribs = null], [array $options = null], [string $listsep = "
\n"
])
Methods
formSelect (line 63)

Generates 'select' list of options.

  • return: The select tag and options XHTML.
  • access: public
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()

Documentation generated on Sun, 29 Oct 2006 21:27:17 -0600 by phpDocumentor 1.3.0RC6