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