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

ClickedInput Class Reference

Inheritance diagram for ClickedInput:

Inheritance graph
List of all members.

Detailed Description

A ValueInput that can be clicked.

This control supports the concept of being 'clicked' by a user. As such it adds the FC_EVENT_CLICK event to it's instances.

Definition at line 945 of file controls.php.

Public Member Functions

 ClickedInput ($type, $value, $control_name=null)
 The ClickedInput constructor.

 clicked ()
 Check whether this control has been clicked.

 _processPOSTED ($post)
 Process a HTTPD POSTed value.


Constructor & Destructor Documentation

ClickedInput::ClickedInput type,
value,
control_name = null
 

The ClickedInput constructor.

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)
Parameters:
$value the value of the control

Definition at line 952 of file controls.php.

References FC_EVENT_CLICK.


Member Function Documentation

ClickedInput::_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 975 of file controls.php.

References FC_EVENT_CLICK.

ClickedInput::clicked  ) 
 

Check whether this control has been clicked.

Checks whether the FC_EVENT_CLICK event is flagged as having occurred.

Returns:
true of the control has been clicked, false otherwise

Definition at line 966 of file controls.php.

References FC_EVENT_CLICK.


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