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

webapp/webapp.php

Go to the documentation of this file.
00001 <?php
00002 
00007 require_once('formcontrols/controlbox.php'); // we need the control definitions
00008 
00009 
00017 class WebApp 
00018 {
00019     // The ControlBox
00020     var $control_box;
00021 
00024     function WebApp() 
00025         {
00026             $this->control_box =& new ControlBox();
00027         }
00028 
00035     function update() 
00036         {
00037             $control_box =& $this->getControlBox();
00038             $control_box->triggerChildActions();
00039         }
00040     
00041     // ACCESSOR METHODS
00042 
00046     function &getControlBox() 
00047         {
00048             return $this->control_box;
00049         }
00050 
00051     // INIT METHODS
00052 
00059     function init() 
00060         {
00061         }
00062 
00063     /***************************************************
00064      * Version INTERFACE
00065      ***************************************************/
00066 
00070     function version() 
00071         {
00072             return '0.1';
00073         }
00074     
00075     /***************************************************
00076      * Serialisation INTERFACE
00077      ***************************************************/
00078 
00088     function __sleep() 
00089         {
00090             return array('control_box');
00091         }
00092 }
00093 
00094 
00095 ?>

Generated on Mon Feb 14 10:55:54 2005 for MapApp by doxygen 1.3.5