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

MultipleOption Class Reference

Inheritance diagram for MultipleOption:

Inheritance graph
List of all members.

Detailed Description

An option that can be selected along with other options.

This represents an option in a choice where more than one option can be selected (e.g. a checkbox list).

Definition at line 1339 of file controls.php.

Public Member Functions

 MultipleOption ($value, $label=null, $control_name=null)
 
Parameters:
$value the value of the option
$label the label of the option
$control_name the unique name for the control (also as appears in the HTTPD POST string)


 submitsMultipleValues ()
 Check whether this control submits multiple values.

 _processPOSTED ($post)
 Process a HTTPD POSTed value.


Constructor & Destructor Documentation

MultipleOption::MultipleOption value,
label = null,
control_name = null
 

Parameters:
$value the value of the option
$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 1344 of file controls.php.


Member Function Documentation

MultipleOption::_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 1362 of file controls.php.

MultipleOption::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 1353 of file controls.php.


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