From f65bfee1954d6697e5002f4253d0a7d2d1940eb6 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 14 Apr 2006 21:37:37 +0200 Subject: 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 --- inc/pluginutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pluginutils.php') 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 -- cgit v1.2.3