Class Zend_View_Helper_FormMultiCheckbox

Description

Helper to generate a set of checkbox button elements

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

Located in /View/Helper/FormMultiCheckbox.php (line 37)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_HtmlElement
      |
      --Zend_View_Helper_FormElement
         |
         --Zend_View_Helper_FormRadio
            |
            --Zend_View_Helper_FormMultiCheckbox
Variable Summary
 string $_inputType
 bool $_isArray
Method Summary
 string formMultiCheckbox (string|array $name, [mixed $value = null], [array|string $attribs = null], [array $options = null], [ $listsep = "<br />\n"])
Variables
string $_inputType = 'checkbox' (line 43)

Input type to use

  • access: protected

Redefinition of:
Zend_View_Helper_FormRadio::$_inputType
Input type to use
bool $_isArray = true (line 49)

Whether or not this element represents an array collection by default

  • access: protected

Redefinition of:
Zend_View_Helper_FormRadio::$_isArray
Whether or not this element represents an array collection by default

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
formMultiCheckbox (line 69)

Generates a set of checkbox button elements.

  • return: The radio buttons XHTML.
  • access: public
string formMultiCheckbox (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 checkbox value to mark as 'checked'.
  • array $options: An array of key-value pairs where the array key is the checkbox 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_FormRadio

 Zend_View_Helper_FormRadio::formRadio()

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:47 -0400 by phpDocumentor 1.4.3