input_checkboxInput checkbox class.
Located in /input.checkbox.php (line 25)
input_base | --input_form_element | --input_checkbox
input_checkbox
input_checkbox
(string $name, object &$form, [bool $checked = FALSE], [string $caption = NULL])
bool
$checked
(line 31)
Whether the checkbox is checked.
Inherited from input_form_element
input_form_element::$caption
input_form_element::$form
Inherited from input_base
input_base::$default
input_base::$name
input_base::$regex
input_base::$required
input_base::$value
input_base::$wasSet
input_base::$wasValid
Constructor input_checkbox (line 41)
Constructs a new checkbox object.
display (line 109)
Display the checkbox.
If the value was not valid, the CSS class is set/changed to 'error'.
reset (line 67)
Reset checkbox value to default
set (line 80)
Sets the value of the checkbox.
Inherited From input_form_element
input_form_element::input_form_element()
input_form_element::_get_error_css()
Inherited From input_base
input_base::input_base()
input_base::reset()
input_base::set()
Documentation generated on Fri, 28 Jan 2005 10:00:55 -0800 by phpDocumentor 1.2.3