Update of /cvsroot/phpcms-plugins/admin4phpCMS/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13210/include
Modified Files:
class.framework.php
Log Message:
prepration of first Alpha-Preview
Index: class.framework.php
===================================================================
RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/include/class.framework.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- class.framework.php 18 Jun 2004 15:16:59 -0000 1.7
+++ class.framework.php 7 Dec 2004 06:34:48 -0000 1.8
@@ -34,6 +34,9 @@
/*
* $Log$
+* Revision 1.8 2004/12/07 06:34:48 mjahn
+* prepration of first Alpha-Preview
+*
* Revision 1.7 2004/06/18 15:16:59 mjahn
* module filemanager and editor included
*
@@ -61,6 +64,25 @@
class framework {
function run () {
+
+ // let the modules parse the URI-params
+ $actiondata = array ('get'=>$_GET, 'post'=>$_POST, 'request'=>$_REQUEST, 'cookie'=>$_COOKIE);
+ $this->eventhandler->event ('PARSE_PARAM', $actiondata);
+
+ // let the modules do their work
+ $actiondata = array ();
+ $this->eventhandler->event ('PROCESS', $actiondata);
+
+ // let the modules print their output
+ $actiondata = array ();
+ $this->eventhandler->event ('DISPLAY', $actiondata);
+ }
+
+ function framework () {
+ $this->__construct ();
+ }
+
+ function __construct () {
global $ACTION;
$this->eventhandler =& new eventHandler ();
@@ -110,19 +132,7 @@
$actiondata = array ('filename'=>$includefile, 'class'=>$module->attributes['class']);
$this->eventhandler->event ('LOAD_MODULE', $actiondata);
}
-
- // let the modules parse the URI-params
- $actiondata = array ('get'=>$_GET, 'post'=>$_POST, 'request'=>$_REQUEST, 'cookie'=>$_COOKIE);
- $this->eventhandler->event ('PARSE_PARAM', $actiondata);
-
- // let the modules do their work
- $actiondata = array ();
- $this->eventhandler->event ('PROCESS', $actiondata);
-
- // let the modules print their output
- $actiondata = array ();
- $this->eventhandler->event ('DISPLAY', $actiondata);
- }
+ }
}
?>
\ No newline at end of file
|