xref: /dokuwiki/inc/Extension/ActionPlugin.php (revision e6380ba37d6b3f7dd03146b3c03030ccc8c1b297)
1<?php
2
3namespace dokuwiki\Extension;
4
5/**
6 * Action Plugin Prototype
7 *
8 * Handles action hooks within a plugin
9 *
10 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
11 * @author     Christopher Smith <chris@jalakai.co.uk>
12 */
13abstract class ActionPlugin extends Plugin
14{
15    /**
16     * Registers a callback function for a given event
17     *
18     * @param EventHandler $controller
19     */
20    abstract public function register(EventHandler $controller);
21}
22