[geeklog-cvs] Geeklog-2/system PluginInterface.php,1.1.1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Sun Dec 19 21:00:57 EST 2004


Update of /var/cvs/Geeklog-2/system
In directory www:/tmp/cvs-serv14993

Modified Files:
	PluginInterface.php 
Log Message:
Change class name to conform to standards, added getDependencies() 
method.
----------------------------------------------------------------------


Index: PluginInterface.php
===================================================================
RCS file: /var/cvs/Geeklog-2/system/PluginInterface.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** PluginInterface.php	17 Dec 2004 23:35:47 -0000	1.1.1.1
--- PluginInterface.php	20 Dec 2004 02:00:54 -0000	1.2
***************
*** 20,24 ****
   * @author Tony Bibbs <tony at geeklog.net>
   */
! class Geeklog_Plugin_Interface {
  
      /**
--- 20,24 ----
   * @author Tony Bibbs <tony at geeklog.net>
   */
! class Geeklog_PluginInterface {
  
      /**
***************
*** 92,96 ****
       */
      public function getPage($request);
  }
  
! ?>
\ No newline at end of file
--- 92,110 ----
       */
      public function getPage($request);
+     
+     /**
+      * Gets the dependencies a plugin may have
+      *
+      * Plugins can mark other plugins as required dependents or optional dependents.  This method
+      * allows a plugin to identify its dependencies so that the kernel can enforce those 
+      * dependencies
+      *
+      * @author Tony Bibbs <tony at geeklog.net>
+      * @access public
+      * @return array Not sure what this will return yet
+      *
+      */
+     public function getDependencies();
  }
  
! ?>




More information about the geeklog-cvs mailing list