1 | <?php |
||
32 | class Section implements IIconSection { |
||
33 | |||
34 | private $config; |
||
35 | private $defaults; |
||
36 | private $urlGenerator; |
||
37 | private $l10n; |
||
38 | |||
39 | public function __construct(IConfig $config, \OC_Defaults $defaults, IURLGenerator $urlGenerator, IL10N $l10n) { |
||
45 | |||
46 | /** |
||
47 | * returns the relative path to an 16*16 icon describing the section. |
||
48 | * e.g. '/core/img/places/files.svg' |
||
49 | * |
||
50 | * @returns string |
||
51 | * @since 12 |
||
52 | */ |
||
53 | public function getIcon() { |
||
56 | |||
57 | /** |
||
58 | * returns the ID of the section. It is supposed to be a lower case string, |
||
59 | * e.g. 'ldap' |
||
60 | * |
||
61 | * @returns string |
||
62 | * @since 9.1 |
||
63 | */ |
||
64 | public function getID() { |
||
67 | |||
68 | /** |
||
69 | * returns the translated name as it should be displayed, e.g. 'LDAP / AD |
||
70 | * integration'. Use the L10N service to translate it. |
||
71 | * |
||
72 | * @return string |
||
73 | * @since 9.1 |
||
74 | */ |
||
75 | public function getName() { |
||
78 | |||
79 | /** |
||
80 | * @return int whether the form should be rather on the top or bottom of |
||
81 | * the settings navigation. The sections are arranged in ascending order of |
||
82 | * the priority values. It is required to return a value between 0 and 99. |
||
83 | * |
||
84 | * E.g.: 70 |
||
85 | * @since 9.1 |
||
86 | */ |
||
87 | public function getPriority() { |
||
90 | } |
||
91 |