Class Zend_View_Helper_FormRadio

Description

Helper to generate a set of radio button elements

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

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

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], [ $listsep = "<br />\n"])
Methods
formRadio (line 58)

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], [ $listsep = "<br />\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.
  • $listsep

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 Thu, 18 Jan 2007 09:54:17 -0800 by phpDocumentor 1.3.1