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