Public Member Functions | |
formCheckbox ($name, $value=null, $attribs=null, array $checkedOptions=null) | |
Static Public Member Functions | |
static | determineCheckboxInfo ($value, $checked, array $checkedOptions=null) |
Static Protected Attributes | |
static | $_defaultCheckedOptions |
Definition at line 39 of file FormCheckbox.php.
static determineCheckboxInfo | ( | $ | value, |
$ | checked, | ||
array $ | checkedOptions = null |
||
) | [static] |
Determine checkbox information
string | $value | |
bool | $checked | |
array | null | $checkedOptions |
Definition at line 115 of file FormCheckbox.php.
formCheckbox | ( | $ | name, |
$ | value = null , |
||
$ | attribs = null , |
||
array $ | checkedOptions = null |
||
) |
Generates a 'checkbox' element.
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 element value. |
array | $attribs | Attributes for the element tag. |
Definition at line 62 of file FormCheckbox.php.
$_defaultCheckedOptions [static, protected] |
array( 'checkedValue' => '1', 'uncheckedValue' => '0' )
Definition at line 45 of file FormCheckbox.php.