French language fix FS#1875
[dokuwiki/radio.git] / lib / plugins / action.php
bloba26bc654a3bcf7375bf5a58cae984ffec01e4bae
1 <?php
2 /**
3 * Action Plugin Prototype
5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
6 * @author Christopher Smith <chris@jalakai.co.uk>
7 */
8 // must be run within Dokuwiki
9 if(!defined('DOKU_INC')) die();
11 if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
12 require_once(DOKU_INC.'inc/plugin.php');
14 /**
15 * All DokuWiki plugins to interfere with the event system
16 * need to inherit from this class
18 class DokuWiki_Action_Plugin extends DokuWiki_Plugin {
20 /**
21 * Registers a callback function for a given event
23 function register($controller) {
24 trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);