1 | <?php |
||
14 | class Admin extends AbstractUserAction { |
||
15 | |||
16 | /** @inheritdoc */ |
||
17 | public function minimumPermission() { |
||
26 | |||
27 | public function checkPreconditions() { |
||
28 | parent::checkPreconditions(); |
||
29 | |||
30 | global $INFO; |
||
31 | if(!$INFO['ismanager']) { |
||
32 | throw new ActionException('denied'); |
||
33 | } |
||
34 | } |
||
35 | |||
36 | public function preProcess() { |
||
51 | |||
52 | public function tplContent() { |
||
55 | |||
56 | } |
||
57 |