1 | <?php |
||
28 | class Section implements IIconSection { |
||
29 | /** @var IL10N */ |
||
30 | private $l; |
||
31 | /** @var IURLGenerator */ |
||
32 | private $url; |
||
33 | |||
34 | public function __construct(IL10N $l, IURLGenerator $url) { |
||
38 | |||
39 | /** |
||
40 | * returns the ID of the section. It is supposed to be a lower case string, |
||
41 | * e.g. 'ldap' |
||
42 | * |
||
43 | * @returns string |
||
44 | */ |
||
45 | public function getID() { |
||
48 | |||
49 | /** |
||
50 | * returns the translated name as it should be displayed, e.g. 'LDAP / AD |
||
51 | * integration'. Use the L10N service to translate it. |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getName() { |
||
58 | |||
59 | /** |
||
60 | * @return int whether the form should be rather on the top or bottom of |
||
61 | * the settings navigation. The sections are arranged in ascending order of |
||
62 | * the priority values. It is required to return a value between 0 and 99. |
||
63 | * |
||
64 | * E.g.: 70 |
||
65 | */ |
||
66 | public function getPriority() { |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getIcon() { |
||
76 | } |
||
77 |