File: ActionPlugin.php

package info (click to toggle)
dokuwiki 2025-05-14.b%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,928 kB
  • sloc: php: 99,723; javascript: 3,741; sh: 599; makefile: 70; xml: 34
file content (21 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
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);
}