summaryrefslogtreecommitdiff
path: root/inc/pluginutils.php
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-04-14 21:37:37 +0200
committerchris <chris@jalakai.co.uk>2006-04-14 21:37:37 +0200
commitf65bfee1954d6697e5002f4253d0a7d2d1940eb6 (patch)
tree9dcac5e578987a6aea9a4ea043f25a9b0fabaaa3 /inc/pluginutils.php
parentc4e0e4a153fee5f985668670a91b2cd94a17dd75 (diff)
downloadrpg-f65bfee1954d6697e5002f4253d0a7d2d1940eb6.tar.gz
rpg-f65bfee1954d6697e5002f4253d0a7d2d1940eb6.tar.bz2
action plugins
This patch adds events and a third plugin type, "action" plugins, to DokuWiki. The patch doesn't include any event signalling, that will be added in later patches. Action plugins are loaded before most Dokuwiki processing takes place and at the same time are given the opportunity to register handlers (or hooks) to receive specific dokuwiki events. Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register handlers to receive events. Any part of Dokuwiki can create and signal events, including templates and plugins. This patch also revises the admin plugin class by making it an extension of a new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this new class. Further details of events, their signalling and handling, and of action plugins will be added to wiki.splitbrain.org in due course :-) darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
Diffstat (limited to 'inc/pluginutils.php')
-rw-r--r--inc/pluginutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/pluginutils.php b/inc/pluginutils.php
index d9cc848fe..4d3b5cbd6 100644
--- a/inc/pluginutils.php
+++ b/inc/pluginutils.php
@@ -7,7 +7,7 @@
*/
// plugin related constants
-$plugin_types = array('admin','syntax');
+$plugin_types = array('admin','syntax','action');
/**
* Returns a list of available plugins of given type