
Public Member Functions | |
| render ($name, $value, $extra_attrs=array()) | |
| valueFromFormData ($name, $data) | |
Public Attributes | |
| $input_type = 'checkbox' | |
| Pluf_Form_Widget_CheckboxInput::render | ( | $ | name, | |
| $ | value, | |||
| $ | extra_attrs = array() | |||
| ) |
Renders the HTML of the input.
| string | Name of the field. | |
| mixed | Value for the field, can be a non valid value. | |
| array | Extra attributes to add to the input form (array()) |
Reimplemented from Pluf_Form_Widget_Input.
| Pluf_Form_Widget_CheckboxInput::valueFromFormData | ( | $ | name, | |
| $ | data | |||
| ) |
A non checked checkbox is simply not returned in the form array.
| string | Name of the form. | |
| array | Submitted form data. |
Reimplemented from Pluf_Form_Widget.
| Pluf_Form_Widget_CheckboxInput::$input_type = 'checkbox' |
Input type of the field.
Reimplemented from Pluf_Form_Widget.