Definition at line 1002 of file controls.php.
Public Member Functions | |
ImageInput ($src=null, $control_name=null) | |
The ImageInput constructor. | |
getXY () | |
Get the clicked image coordinates. | |
getX () | |
Get the X pixel coordinate of the click. | |
getY () | |
Get the Y pixel coordinate of the click. | |
getSrc () | |
Get the control's image source URL. | |
setSrc ($src) | |
Set the control's image source URL. | |
submitsMultipleValues () | |
Check whether this control submits multiple values. | |
getValue () | |
Get the control's value. | |
setValue ($value) | |
Set the control's value. | |
Public Attributes | |
$value | |
The value (clicked coordinates) of the control. |
|
The ImageInput constructor.
Definition at line 1012 of file controls.php. |
|
Get the control's image source URL.
Definition at line 1055 of file controls.php. |
|
Get the control's value. An interface for retrieving a control's value. This should be overridden in a subclass to return a value.
Reimplemented from ValueInput. Definition at line 1080 of file controls.php. |
|
Get the X pixel coordinate of the click.
Definition at line 1033 of file controls.php. |
|
Get the clicked image coordinates.
Definition at line 1023 of file controls.php. |
|
Get the Y pixel coordinate of the click.
Definition at line 1042 of file controls.php. |
|
Set the control's image source URL.
Definition at line 1065 of file controls.php. |
|
Set the control's value. This sets the control's value and flags the control has having been updated.
Reimplemented from ValueInput. Definition at line 1085 of file controls.php. References $value. |
|
Check whether this control submits multiple values. A control that submits multiple values is a control such as a checkbox or multiple select.
Reimplemented from ControlElement. Definition at line 1075 of file controls.php. |
|
The value (clicked coordinates) of the control.
Definition at line 1005 of file controls.php. Referenced by setValue(). |