Public Member Functions | |
CheckboxFormField ($Name, $Label) | |
Object constructor. | |
PrintField ($DisplayErrorIndicator=FALSE) | |
Generate HTML for the int field and label. | |
PrintInput ($DisplayErrorIndicator=FALSE) | |
Generate HTML just for the input field. |
Definition at line 8 of file CheckboxFormField.php.
CheckboxFormField::CheckboxFormField | ( | $ | Name, | |
$ | Label | |||
) |
Object constructor.
Name | internal name of the checkbox field, used as the id= in HTML | |
Label | Display name of the checkbox field, showed to the user |
Definition at line 17 of file CheckboxFormField.php.
References FormField::FormField().
CheckboxFormField::PrintField | ( | $ | DisplayErrorIndicator = FALSE |
) |
Generate HTML for the int field and label.
DisplayErrorIndicator | Setting TRUE will generate html error indicators (OPTIONAL) |
Reimplemented from FormField.
Definition at line 27 of file CheckboxFormField.php.
References PrintInput(), and FormField::PrintLabel().
CheckboxFormField::PrintInput | ( | $ | DisplayErrorIndicator = FALSE |
) |
Generate HTML just for the input field.
DisplayErrorIndicator | Setting TRUE will generate html error indicators (OPTIONAL) |
Definition at line 38 of file CheckboxFormField.php.
Referenced by PrintField().