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