xref: /dokuwiki/lib/plugins/action.php (revision 3a97d936870170491bdd7d03d71143143b10191d)
1<?php
2/**
3 * Action Plugin Prototype
4 *
5 * All DokuWiki plugins to interfere with the event system
6 * need to inherit from this class
7 *
8 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 * @author     Christopher Smith <chris@jalakai.co.uk>
10 */
11abstract class DokuWiki_Action_Plugin extends DokuWiki_Plugin {
12
13    /**
14     * Registers a callback function for a given event
15     *
16     * @param Doku_Event_Handler $controller
17     */
18    abstract public function register(Doku_Event_Handler $controller);
19}
20