diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
commit | 7e8500eea1e53b1de0e0f70400664afa442cd08d (patch) | |
tree | 4dd246a9b26f930fc7cbfef76116320dcbe77aaf /lib/plugins/admin.php | |
parent | e3710957c6b7e12293805a15d0624be7c7054092 (diff) | |
download | dokuwiki-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz dokuwiki-7e8500eea1e53b1de0e0f70400664afa442cd08d.zip |
PHPDocs and some improvements
Diffstat (limited to 'lib/plugins/admin.php')
-rw-r--r-- | lib/plugins/admin.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/plugins/admin.php b/lib/plugins/admin.php index 9a1fb9fdc..d063af612 100644 --- a/lib/plugins/admin.php +++ b/lib/plugins/admin.php @@ -14,6 +14,10 @@ if(!defined('DOKU_INC')) die(); */ class DokuWiki_Admin_Plugin extends DokuWiki_Plugin { + /** + * @param string $language language code + * @return string + */ function getMenuText($language) { $menutext = $this->getLang('menu'); if (!$menutext) { @@ -23,10 +27,14 @@ class DokuWiki_Admin_Plugin extends DokuWiki_Plugin { return $menutext; } + /** + * @return int + */ function getMenuSort() { return 1000; } + function handle() { trigger_error('handle() not implemented in '.get_class($this), E_USER_WARNING); } @@ -35,10 +43,16 @@ class DokuWiki_Admin_Plugin extends DokuWiki_Plugin { trigger_error('html() not implemented in '.get_class($this), E_USER_WARNING); } + /** + * @return bool + */ function forAdminOnly() { return true; } + /** + * @return array + */ function getTOC(){ return array(); } |