[pLog-svn] r1659 - plog/trunk/class/plugin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Mar 30 21:03:34 GMT 2005
Author: oscar
Date: 2005-03-30 21:03:33 +0000 (Wed, 30 Mar 2005)
New Revision: 1659
Removed:
plog/trunk/class/plugin/eventpluginbase.class.php
Log:
not needed anymore
Deleted: plog/trunk/class/plugin/eventpluginbase.class.php
===================================================================
--- plog/trunk/class/plugin/eventpluginbase.class.php 2005-03-30 21:02:50 UTC (rev 1658)
+++ plog/trunk/class/plugin/eventpluginbase.class.php 2005-03-30 21:03:33 UTC (rev 1659)
@@ -1,43 +0,0 @@
-<?php
-
- /**
- * @package plugin
- */
-
-
- include_once( PLOG_CLASS_PATH."class/object/object.class.php" );
-
- /**
- * Clase base that defined how event-based plugins should look like.
- *
- * This class has nothing to do with normal plugins!
- */
- class EventPluginBase extends Object
- {
-
- /**
- * Constructor, does nothing at the moment
- */
- function EventPluginBase()
- {
- $this->Object();
- }
-
- /**
- * Processes notifications of event. If this plugin has asked the PluginManager to be notified
- * about more than one different event, please make sure to check the value of the eventType
- * parameter
- *
- * @see PluginManager
- * @see PluginBase
- * @param eventType The event identifier. Constants are defined in the PluginManager class
- * @param params An array containing a variable number of parameters, depending on the event
- * and on the entity that threw the event
- */
- function process( $eventType, $params )
- {
- throw( new Exception( "EventPluginBase::process must be implemented by child classes" ));
- die();
- }
- }
-?>
\ No newline at end of file
More information about the pLog-svn
mailing list