Add basic action definition

This is an empty placeholder, all it does right now is triggering a
warning each time DokuWiki tries to load it.
This commit is contained in:
vv221 2020-03-30 23:32:07 +02:00
parent 410fdb12cc
commit 93535bc845

23
action.php Normal file
View file

@ -0,0 +1,23 @@
<?php
/**
* Tabpage plugin: Shows links to children pages as tabs on parent page
*
* @license BSD 2-Clause
* @author Antoine Le Gonidec <vv221.dokuwiki@dotslashplay.it>
*/
// must be run within Dokuwiki
if ( ! defined('DOKU_INC') ) {
die();
}
class action_plugin_tabpage extends DokuWiki_Action_Plugin {
/**
* Registers a callback function for a given event
*
* @param Doku_Event_Handler $controller
*/
public function register(Doku_Event_Handler $controller) {
trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
}
}