xref: /plugin/dev/skel/admin.php (revision 70316b849e063a6d74c051966388525c6a62b604)
1*70316b84SAndreas Gohr<?php
2*70316b84SAndreas Gohr/**
3*70316b84SAndreas Gohr * DokuWiki Plugin @@PLUGIN_NAME@@ (Admin Component)
4*70316b84SAndreas Gohr *
5*70316b84SAndreas Gohr * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6*70316b84SAndreas Gohr * @author  @@AUTHOR_NAME@@ <@@AUTHOR_MAIL@@>
7*70316b84SAndreas Gohr */
8*70316b84SAndreas Gohrclass @@PLUGIN_COMPONENT_NAME@@ extends \dokuwiki\Extension\AdminPlugin
9*70316b84SAndreas Gohr{
10*70316b84SAndreas Gohr
11*70316b84SAndreas Gohr    /** @inheritDoc */
12*70316b84SAndreas Gohr    public function handle()
13*70316b84SAndreas Gohr    {
14*70316b84SAndreas Gohr        // FIXME data processing
15*70316b84SAndreas Gohr    }
16*70316b84SAndreas Gohr
17*70316b84SAndreas Gohr    /** @inheritDoc */
18*70316b84SAndreas Gohr    public function html()
19*70316b84SAndreas Gohr    {
20*70316b84SAndreas Gohr        // FIXME render output
21*70316b84SAndreas Gohr        echo '<h1>' . $this->getLang('menu') . '</h1>';
22*70316b84SAndreas Gohr    }
23*70316b84SAndreas Gohr}
24*70316b84SAndreas Gohr
25