1 | <?php |
||
34 | class AdminSettings implements ISettings { |
||
35 | |||
36 | |||
37 | /** @var IL10N */ |
||
38 | private $l; |
||
39 | |||
40 | /** @var IURLGenerator */ |
||
41 | private $urlGenerator; |
||
42 | private $settingsService; |
||
43 | |||
44 | |||
45 | /** |
||
46 | * Admin constructor. |
||
47 | * |
||
48 | * @param IL10N $l |
||
49 | * @param IURLGenerator $urlGenerator |
||
50 | * @param SettingsService $settingsService |
||
51 | */ |
||
52 | public function __construct(IL10N $l, |
||
60 | |||
61 | /** |
||
62 | * @return TemplateResponse |
||
63 | */ |
||
64 | public function getForm() { |
||
70 | |||
71 | /** |
||
72 | * @return string the section ID, e.g. 'sharing' |
||
73 | */ |
||
74 | public function getSection() { |
||
77 | |||
78 | /** |
||
79 | * @return int whether the form should be rather on the top or bottom of |
||
80 | * the admin section. The forms are arranged in ascending order of the |
||
81 | * priority values. It is required to return a value between 0 and 100. |
||
82 | * |
||
83 | * keep the server setting at the top, right after "server settings" |
||
84 | */ |
||
85 | public function getPriority() { |
||
88 | |||
89 | } |
||
90 |