1 | <?php |
||
32 | class AdminSection implements IIconSection { |
||
33 | |||
34 | /** @var IL10N */ |
||
35 | private $l; |
||
36 | /** @var IURLGenerator */ |
||
37 | private $url; |
||
38 | |||
39 | public function __construct(IL10N $l, IURLGenerator $url) { |
||
43 | |||
44 | /** |
||
45 | * returns the ID of the section. It is supposed to be a lower case string |
||
46 | * |
||
47 | * @returns string |
||
48 | */ |
||
49 | public function getID() { |
||
52 | |||
53 | /** |
||
54 | * returns the translated name as it should be displayed, e.g. 'LDAP / AD |
||
55 | * integration'. Use the L10N service to translate it. |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getName() { |
||
62 | |||
63 | /** |
||
64 | * @return int whether the form should be rather on the top or bottom of |
||
65 | * the settings navigation. The sections are arranged in ascending order of |
||
66 | * the priority values. It is required to return a value between 0 and 99. |
||
67 | * |
||
68 | * keep the server setting at the top, right after "server settings" |
||
69 | */ |
||
70 | public function getPriority() { |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function getIcon() { |
||
80 | } |
||
81 |