Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CheckboxInput Class Reference

Inheritance diagram for CheckboxInput:

Inheritance graph
List of all members.

Detailed Description

A checkbox input.

Definition at line 1524 of file controls.php.

Public Member Functions

 CheckboxInput ($value, $label=null, $control_name=null)
 The CheckboxInput constructor.

 submitsMultipleValues ()
 Check whether this control submits multiple values.

 toString ()
 Get a human readable string representation of the element.

 _processPOSTED ($post)
 Process a HTTPD POSTed value.


Constructor & Destructor Documentation

CheckboxInput::CheckboxInput value,
label = null,
control_name = null
 

The CheckboxInput constructor.

Parameters:
$value the value of the radio button
$label the label of the option
$control_name the unique name for the control (also as appears in the HTTPD POST string)

Definition at line 1532 of file controls.php.


Member Function Documentation

CheckboxInput::_processPOSTED post  ) 
 

Process a HTTPD POSTed value.

The POSTed value is processed and set as the value of the current control.

Parameters:
$post the POSTed value
Returns:
void

Reimplemented from ControlElement.

Definition at line 1561 of file controls.php.

CheckboxInput::submitsMultipleValues  ) 
 

Check whether this control submits multiple values.

A control that submits multiple values is a control such as a checkbox or multiple select.

Returns:
true if the control is capable of submitting multiple values, false otherwise

Reimplemented from ControlElement.

Definition at line 1542 of file controls.php.

CheckboxInput::toString  ) 
 

Get a human readable string representation of the element.

Returns:
string

Reimplemented from CheckedInput.

Definition at line 1551 of file controls.php.


The documentation for this class was generated from the following file:
Generated on Mon Feb 14 11:39:50 2005 for FormControls by doxygen 1.3.5