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

SingleOption Class Reference

Inheritance diagram for SingleOption:

Inheritance graph
List of all members.

Detailed Description

An option that cannot be selected along with other options.

This represents an option in an either/or choice (e.g. a set of radio buttons).

Definition at line 1302 of file controls.php.

Public Member Functions

 SingleOption ($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)


 _processPOSTED ($post)
 Process a HTTPD POSTed value.


Constructor & Destructor Documentation

SingleOption::SingleOption 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 1307 of file controls.php.


Member Function Documentation

SingleOption::_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 1316 of file controls.php.


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