1 | <?php |
||
44 | class Admin implements ISettings { |
||
45 | |||
46 | |||
47 | /** @var IL10N */ |
||
48 | private $l10n; |
||
49 | |||
50 | /** @var IURLGenerator */ |
||
51 | private $urlGenerator; |
||
52 | |||
53 | /** @var ConfigService */ |
||
54 | private $configService; |
||
55 | |||
56 | /** @var MiscService */ |
||
57 | private $miscService; |
||
58 | |||
59 | |||
60 | /** |
||
61 | * @param IL10N $l10n |
||
62 | * @param IURLGenerator $urlGenerator |
||
63 | * @param ConfigService $configService |
||
64 | * @param MiscService $miscService |
||
65 | */ |
||
66 | public function __construct( |
||
75 | |||
76 | |||
77 | /** |
||
78 | * @return TemplateResponse |
||
79 | * @throws Exception |
||
80 | */ |
||
81 | public function getForm(): TemplateResponse { |
||
84 | |||
85 | |||
86 | /** |
||
87 | * @return string the section ID, e.g. 'sharing' |
||
88 | */ |
||
89 | public function getSection(): string { |
||
92 | |||
93 | |||
94 | /** |
||
95 | * @return int whether the form should be rather on the top or bottom of |
||
96 | * the admin section. The forms are arranged in ascending order of the |
||
97 | * priority values. It is required to return a value between 0 and 100. |
||
98 | * |
||
99 | * keep the server setting at the top, right after "server settings" |
||
100 | */ |
||
101 | public function getPriority(): int { |
||
104 | |||
105 | } |
||
106 | |||
107 |