aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Extension/ActionPlugin.php
blob: 7fbd6f7f29c386e9f485f1e2eb861560ae083fac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace dokuwiki\Extension;

/**
 * Action Plugin Prototype
 *
 * Handles action hooks within a plugin
 *
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 * @author     Christopher Smith <chris@jalakai.co.uk>
 */
abstract class ActionPlugin extends Plugin
{
    /**
     * Registers a callback function for a given event
     *
     * @param EventHandler $controller
     */
    abstract public function register(EventHandler $controller);
}