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() { |
|
51 | |||
52 | /** |
||
53 | * |
||
54 | * @return string the section ID, e.g. 'sharing' |
||
55 | */ |
||
56 | 1 | public function getSection() { |
|
59 | |||
60 | /** |
||
61 | * |
||
62 | * @return int whether the form should be rather on the top or bottom of |
||
63 | * the admin section. The forms are arranged in ascending order of the |
||
64 | * priority values. It is required to return a value between 0 and 100. |
||
65 | * keep the server setting at the top, right after "server settings" |
||
66 | */ |
||
67 | 1 | public function getPriority() { |
|
70 | } |