[geeklog-cvs] Geeklog-2.x/public_html index.php,1.25,1.26

Tony Bibbs tony at qs1489.pair.com
Fri Jul 13 13:41:10 EDT 2007


Update of /cvsroot/geeklog2/Geeklog-2.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv12801/public_html

Modified Files:
	index.php 
Log Message:
phpdoc, cleaned up includes, etc.

Index: index.php
===================================================================
RCS file: /cvsroot/geeklog2/Geeklog-2.x/public_html/index.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** index.php	29 Jun 2007 16:42:35 -0000	1.25
--- index.php	13 Jul 2007 17:41:08 -0000	1.26
***************
*** 11,14 ****
--- 11,29 ----
  
  /**
+  * Page that handles many requests for Geeklog
+  * 
+  * This class instantiates an MVCnPHP Controller for requests to the GL2 kernel OR it acts as a
+  * proxy by using the Plugin API to pass controll to a plugin who either instantiates their own
+  * MVCnPHP controller or brings in the procedural code to process a request.  
+  * 
+  * NOTE: Yes, you can write plugins for GL2 that make use of procedural code if you hate all this 
+  * object oriented stuff
+  * 
+  * @version $Id$
+  * @package net.geeklog
+  * 
+  */
+  
+ /**
   * Bring in the Geeklog 2 configuration file. NOTE: you can't start the timer before this because
   * the config file sets up the include_path. 
***************
*** 16,20 ****
   * We will try to bring in the config.php from one directory up but it maybe configured completely
   * different.  Ideally you'd change this to the absolute path.
!  * 
   */
  require '../config.php';
--- 31,35 ----
   * We will try to bring in the config.php from one directory up but it maybe configured completely
   * different.  Ideally you'd change this to the absolute path.
!  *
   */
  require '../config.php';
***************
*** 59,62 ****
--- 74,82 ----
  
  /**
+  * Item model class
+  */
+ require getOption('path_models') . 'Gl2Item.php';
+ 
+ /**
   * Plugin model object
   */
***************
*** 79,87 ****
  
  /**
-  * Abstract plugin class
-  */
- //require getOption('path_system') . 'Plugin.php';
- 
- /**
   * The propel user model class.  Note this is NOT the DTO because the DTO is not acceptable for use
   * in $_SESSION.
--- 99,102 ----
***************
*** 95,98 ****
--- 110,116 ----
  require getOption('path_models') . 'Gl2Group.php';
  
+ /**
+  * List item DTO
+  */
  require getOption('path_models') . 'dto/Gl2ListItemDTO.php';
  
***************
*** 102,105 ****
--- 120,133 ----
   */
  require getOption('path_system') . 'ActionManager.php';
+ 
+ /**
+  * Action class, instances of this class are passed around when events are fired
+  */
+ require getOption('path_system') . 'Action.php';
+ 
+ /**
+  * Action Listener model class.
+  */
+ require getOption('path_models') . 'Gl2ActionListener.php';        
  
  /**




More information about the geeklog-cvs mailing list