1 | <?php |
||
19 | class Admin implements ISettings { |
||
20 | |||
21 | /** @var IConfig */ |
||
22 | private $config; |
||
23 | |||
24 | /** |
||
25 | * |
||
26 | * @param IConfig $config |
||
27 | */ |
||
28 | 4 | public function __construct(IConfig $config) { |
|
31 | |||
32 | /** |
||
33 | * |
||
34 | * @return TemplateResponse |
||
35 | */ |
||
36 | 2 | public function getForm() { |
|
49 | |||
50 | /** |
||
51 | * |
||
52 | * @return string the section ID, e.g. 'sharing' |
||
53 | */ |
||
54 | 1 | public function getSection() { |
|
57 | |||
58 | /** |
||
59 | * |
||
60 | * @return int whether the form should be rather on the top or bottom of |
||
61 | * the admin section. The forms are arranged in ascending order of the |
||
62 | * priority values. It is required to return a value between 0 and 100. |
||
63 | * keep the server setting at the top, right after "server settings" |
||
64 | */ |
||
65 | 1 | public function getPriority() { |
|
68 | } |