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