diff options
author | Michael Klier <chi@chimeric.de> | 2007-08-20 19:58:42 +0200 |
---|---|---|
committer | Michael Klier <chi@chimeric.de> | 2007-08-20 19:58:42 +0200 |
commit | e05d5c7655b4142e92ffbc6b8b0de2cc6354ece1 (patch) | |
tree | bf6eb8a618fc2567aaf1798b9bd9e69a39016fe4 /lib/plugins | |
parent | 81c54349cd23c3626c97fd4185d503365097638d (diff) | |
download | rpg-e05d5c7655b4142e92ffbc6b8b0de2cc6354ece1.tar.gz rpg-e05d5c7655b4142e92ffbc6b8b0de2cc6354ece1.tar.bz2 |
typo fix in action plugin prototype class
darcs-hash:20070820175842-23886-3af1d5a1585545b6a84cc8df526f8fe53be537d7.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/action.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/plugins/action.php b/lib/plugins/action.php index 4891349cb..fda30de9f 100644 --- a/lib/plugins/action.php +++ b/lib/plugins/action.php @@ -1,6 +1,6 @@ <?php /** - * Admin Plugin Prototype + * Action Plugin Prototype * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Christopher Smith <chris@jalakai.co.uk> @@ -12,13 +12,15 @@ if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); require_once(DOKU_INC.'inc/plugin.php'); /** - * All DokuWiki plugins to extend the admin function + * All DokuWiki plugins to interfere with the event system * need to inherit from this class */ class DokuWiki_Action_Plugin extends DokuWiki_Plugin { - function register($controller) { - trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING); - } - + /** + * Registers a callback function for a given event + */ + function register($controller) { + trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING); + } } |