Public Member Functions | Protected Attributes

Zend_View_Helper_FormMultiCheckbox Class Reference

Inheritance diagram for Zend_View_Helper_FormMultiCheckbox:
Zend_View_Helper_FormRadio Zend_View_Helper_FormElement Zend_View_Helper_HtmlElement Zend_View_Helper_Abstract Zend_View_Helper_Interface

Public Member Functions

 formMultiCheckbox ($name, $value=null, $attribs=null, $options=null, $listsep="<br />\n")

Protected Attributes

 $_inputType = 'checkbox'
 $_isArray = true

Detailed Description

Definition at line 37 of file FormMultiCheckbox.php.


Member Function Documentation

formMultiCheckbox ( name,
value = null,
attribs = null,
options = null,
listsep = "<br />\n" 
)

Generates a set of checkbox button elements.

public

Parameters:
string | array$nameIf 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$valueThe checkbox value to mark as 'checked'.
array$optionsAn array of key-value pairs where the array key is the checkbox value, and the array value is the radio text.
array | string$attribsAttributes added to each radio.
Returns:
string The radio buttons XHTML.

Definition at line 69 of file FormMultiCheckbox.php.


The documentation for this class was generated from the following file: