32 lines
840 B
PHP
32 lines
840 B
PHP
<?php
|
|
/**
|
|
* DokuWiki Plugin brmburo (Action Component)
|
|
*
|
|
* @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
|
|
* @author Dominik Pantůček <dominik.pantucek@trustica.cz>
|
|
*/
|
|
class action_plugin_brmburo extends \dokuwiki\Extension\ActionPlugin
|
|
{
|
|
|
|
/** @inheritDoc */
|
|
public function register(Doku_Event_Handler $controller)
|
|
{
|
|
$controller->register_hook('ACTION_ACT_PREPROCESS', 'AFTER|BEFORE', $this, 'handleActionActPreprocess');
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* Event handler for ACTION_ACT_PREPROCESS
|
|
*
|
|
* @see https://www.dokuwiki.org/devel:events:ACTION_ACT_PREPROCESS
|
|
* @param Doku_Event $event Event object
|
|
* @param mixed $param optional parameter passed when event was registered
|
|
* @return void
|
|
*/
|
|
public function handleActionActPreprocess(Doku_Event $event, $param) {
|
|
|
|
}
|
|
|
|
}
|
|
|