Class Zend_View_Helper_FormRadio

Description

Helper to generate a set of radio button elements

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

Located in /View/Helper/FormRadio.php (line 39)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_HtmlElement
      |
      --Zend_View_Helper_FormElement
         |
         --Zend_View_Helper_FormRadio
Direct descendents
Class Description
 class Zend_View_Helper_FormMultiCheckbox Helper to generate a set of checkbox button elements
Variable Summary
 string $_inputType
 bool $_isArray
Method Summary
 string formRadio (string|array $name, [mixed $value = null], [array|string $attribs = null], [array $options = null], [ $listsep = "<br />\n"])
Variables
string $_inputType = 'radio' (line 45)

Input type to use

  • access: protected

Redefined in descendants as:
bool $_isArray = false (line 51)

Whether or not this element represents an array collection by default

  • access: protected

Redefined in descendants as:

Inherited Variables

Inherited from Zend_View_Helper_FormElement

Zend_View_Helper_FormElement::$_translator

Inherited from Zend_View_Helper_HtmlElement

Zend_View_Helper_HtmlElement::$_closingBracket

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
formRadio (line 71)

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::getTranslator()
 Zend_View_Helper_FormElement::setTranslator()
 Zend_View_Helper_FormElement::_getInfo()
 Zend_View_Helper_FormElement::_hidden()

Inherited From Zend_View_Helper_HtmlElement

 Zend_View_Helper_HtmlElement::getClosingBracket()
 Zend_View_Helper_HtmlElement::_htmlAttribs()
 Zend_View_Helper_HtmlElement::_isXhtml()
 Zend_View_Helper_HtmlElement::_normalizeId()

Inherited From Zend_View_Helper_Abstract

 Zend_View_Helper_Abstract::direct()
 Zend_View_Helper_Abstract::setView()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:24:49 -0400 by phpDocumentor 1.4.3