A WebApp is a basic interface with which to develop a web application that uses a ControlBox. It provides the ability to initialise the controls and add actions and triggers to them as well as enabling them to be updated and serialised.
Definition at line 17 of file webapp.php.
Public Member Functions | |
WebApp () | |
Instantiates a new ControlBox. | |
update () | |
Update the controls. | |
& | getControlBox () |
Get the ControlBox. | |
init () | |
Initialise the controls. | |
version () | |
Get the version of the class. | |
__sleep () | |
Prepare object for serialisation. | |
Public Attributes | |
$control_box |
|
Instantiates a new ControlBox.
Definition at line 24 of file webapp.php. |
|
Prepare object for serialisation. This method is automatically called just before the object is serialised to carry out clean-up operations. See the PHP documentation at http://www.php.net/manual/en/language.oop.magic-functions.php for more information.
Reimplemented in MapApp, and SmartyApp. Definition at line 88 of file webapp.php. |
|
Get the ControlBox.
Definition at line 46 of file webapp.php. |
|
Initialise the controls. This interface is used to initialise all the controls, assigning them actions and triggers.
Reimplemented in MapApp. Definition at line 59 of file webapp.php. |
|
Update the controls. Updates all controls in the control box by calling ControlBox::triggerChildActions().
Definition at line 35 of file webapp.php. References $control_box. |
|
Get the version of the class.
Reimplemented in MapApp, and SmartyApp. Definition at line 70 of file webapp.php. |
|
Definition at line 20 of file webapp.php. Referenced by update(). |