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

MultipleChoice Class Reference

Inheritance diagram for MultipleChoice:

Inheritance graph
List of all members.

Detailed Description

A ControlChoice that allows the selection of multiple options.

Definition at line 2626 of file controls.php.

Public Member Functions

 MultipleChoice ($control_class, $choice)
 The MultipleChoice constructor.

 submitsMultipleValues ()
 Check whether this control submits multiple values.

 getValue ()
 Get the control's value.


Constructor & Destructor Documentation

MultipleChoice::MultipleChoice control_class,
choice
 

The MultipleChoice constructor.

Parameters:
$control_class the class name of supported Option controls
$choice an array of choices with which to create Option controls

Definition at line 2632 of file controls.php.


Member Function Documentation

MultipleChoice::getValue  ) 
 

Get the control's value.

An interface for retrieving a control's value. This should be overridden in a subclass to return a value.

Returns:
void

Reimplemented from ControlChoice.

Definition at line 2646 of file controls.php.

MultipleChoice::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 ControlChoice.

Definition at line 2641 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