source: documentation/trunk/packages/dokuwiki-2011-05-25a/lib/plugins/action.php@ 30098

Last change on this file since 30098 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 594 bytes
Line 
1<?php
2/**
3 * Action Plugin Prototype
4 *
5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
6 * @author Christopher Smith <[email protected]>
7 */
8// must be run within Dokuwiki
9if(!defined('DOKU_INC')) die();
10
11/**
12 * All DokuWiki plugins to interfere with the event system
13 * need to inherit from this class
14 */
15class DokuWiki_Action_Plugin extends DokuWiki_Plugin {
16
17 /**
18 * Registers a callback function for a given event
19 */
20 function register($controller) {
21 trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
22 }
23}
Note: See TracBrowser for help on using the repository browser.