Class Zend_View_Helper_FormRadio

Description

Helper to generate a set of radio button elements

Located in /Zend/View/Helper/FormRadio.php (line 36)

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

Generates a set of radio button elements.

  • return: The radio buttons XHTML.
  • access: public
string formRadio (string|array $name, [mixed $value = null], [array|string $attribs = null], [array $options = null], [mixed $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 radio value to mark as 'checked'.
  • array $options: An array of key-value pairs where the array key is the radio value, and the array value is the radio text.
  • array|string $attribs: Attributes added to each radio.

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 Tue, 18 Apr 2006 11:55:06 -0700 by phpDocumentor 1.3.0RC3