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

ValueInput Class Reference

Inheritance diagram for ValueInput:

Inheritance graph
List of all members.

Detailed Description

A form control representing an input element with a value.

An input element is considered to be a ValueInput if it contains a value attribute.

Definition at line 854 of file controls.php.

Public Member Functions

 ValueInput ($type, $control_name=null)
 
Parameters:
$type the value of the input element's type attribute
$control_name the unique name for the control (also as appears in the HTTPD POST string)


 getValue ()
 Get the control's value.

 setValue ($value)
 Set the control's value.


Constructor & Destructor Documentation

ValueInput::ValueInput type,
control_name = null
 

Parameters:
$type the value of the input element's type attribute
$control_name the unique name for the control (also as appears in the HTTPD POST string)

Definition at line 859 of file controls.php.


Member Function Documentation

ValueInput::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 ControlElement.

Reimplemented in ImageInput.

Definition at line 868 of file controls.php.

ValueInput::setValue value  ) 
 

Set the control's value.

This sets the control's value and flags the control has having been updated.

Returns:
void

Reimplemented from ControlElement.

Reimplemented in ImageInput.

Definition at line 873 of file controls.php.


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