Newer
Older
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Christopher Smith <chris@jalakai.co.uk>
*/
/**
* All DokuWiki plugins to extend the admin function
* need to inherit from this class
*/
function getMenuText($language) {
$menutext = $this->getLang('menu');
if (!$menutext) {
$info = $this->getInfo();
$menutext = $info['name'].' ...';
}
return $menutext;
}
function handle() {
trigger_error('handle() not implemented in '.get_class($this), E_USER_WARNING);
}
function html() {
trigger_error('html() not implemented in '.get_class($this), E_USER_WARNING);
}
function forAdminOnly() {
return true;
}