Public Member Functions | |
formMultiCheckbox ($name, $value=null, $attribs=null, $options=null, $listsep="<br />\n") | |
Protected Attributes | |
$_inputType = 'checkbox' | |
$_isArray = true |
Definition at line 37 of file FormMultiCheckbox.php.
formMultiCheckbox | ( | $ | name, |
$ | value = null , |
||
$ | attribs = null , |
||
$ | options = null , |
||
$ | listsep = "<br />\n" |
||
) |
Generates a set of checkbox button elements.
public
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. |
Definition at line 69 of file FormMultiCheckbox.php.