00001 <?php
00002
00007 require_once('formcontrols/controlbox.php');
00008
00009
00017 class WebApp
00018 {
00019
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
00042
00046 function &getControlBox()
00047 {
00048 return $this->control_box;
00049 }
00050
00051
00052
00059 function init()
00060 {
00061 }
00062
00063
00064
00065
00066
00070 function version()
00071 {
00072 return '0.1';
00073 }
00074
00075
00076
00077
00078
00088 function __sleep()
00089 {
00090 return array('control_box');
00091 }
00092 }
00093
00094
00095 ?>