xref: /plugin/dev/skel/action.php (revision 70316b849e063a6d74c051966388525c6a62b604)
1<?php
2/**
3 * DokuWiki Plugin @@PLUGIN_NAME@@ (Action Component)
4 *
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6 * @author  @@AUTHOR_NAME@@ <@@AUTHOR_MAIL@@>
7 */
8class @@PLUGIN_COMPONENT_NAME@@ extends \dokuwiki\Extension\ActionPlugin
9{
10
11    /** @inheritDoc */
12    public function register(Doku_Event_Handler $controller)
13    {
14@@REGISTER@@
15    }
16
17    /**
18     * FIXME Event handler for
19     *
20     * @param Doku_Event $event  event object by reference
21     * @param mixed      $param  optional parameter passed when event was registered
22     * @return void
23     */
24@@HANDLERS@@
25}
26
27