CheckboxFormField Class Reference

Generator for checkbox input fields. More...

Collaboration diagram for CheckboxFormField:

Collaboration graph
[legend]

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.

List of all members.


Detailed Description

Generator for checkbox input fields.

Definition at line 8 of file CheckboxFormField.php.

Inheritance diagram for CheckboxFormField:

Inheritance graph
[legend]

Member Function Documentation

CheckboxFormField::CheckboxFormField ( Name,
Label 
)

Object constructor.

Parameters:
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.

Parameters:
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.

Parameters:
DisplayErrorIndicator Setting TRUE will generate html error indicators (OPTIONAL)

Definition at line 38 of file CheckboxFormField.php.

Referenced by PrintField().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: