2014-08-30 13:23:38 +02:00
|
|
|
<?php
|
2014-08-31 03:29:56 +02:00
|
|
|
/**
|
2014-09-11 18:26:01 +02:00
|
|
|
* Action Plugin Prototype
|
|
|
|
*
|
|
|
|
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
|
|
|
* @author Christopher Smith <chris@jalakai.co.uk>
|
2014-08-31 03:29:56 +02:00
|
|
|
*/
|
2014-08-31 04:10:39 +02:00
|
|
|
// must be run within Dokuwiki
|
2014-09-11 18:26:01 +02:00
|
|
|
if(!defined('DOKU_INC')) die();
|
2014-09-10 17:09:50 +02:00
|
|
|
|
2014-09-11 18:26:01 +02:00
|
|
|
/**
|
|
|
|
* All DokuWiki plugins to interfere with the event system
|
|
|
|
* need to inherit from this class
|
|
|
|
*/
|
|
|
|
class DokuWiki_Action_Plugin extends DokuWiki_Plugin {
|
2014-09-07 11:51:44 +02:00
|
|
|
|
2014-09-11 18:26:01 +02:00
|
|
|
/**
|
|
|
|
* Registers a callback function for a given event
|
|
|
|
*/
|
|
|
|
public function register(Doku_Event_Handler $controller) {
|
|
|
|
trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
|
2014-09-01 18:37:07 +02:00
|
|
|
}
|
2014-08-30 13:23:38 +02:00
|
|
|
}
|