Section¶
-
class
OC\Settings\
Section
¶ Source: lib/private/Settings/Section.php#30 Implements: OCP\Settings\IIconSection
Properties¶
Methods¶
-
public
OC\Settings\Section::
__construct
($id, $name, $priority, $icon="")¶ Source: Parameters: - $id (string)
- $name (string)
- $priority (int)
- $icon (string)
-
public
OC\Settings\Section::
getID
()¶ - returns the ID of the section. It is supposed to be a lower case string,e.g. ‘ldap’
Source: lib/private/Settings/Section.php#59
-
public
OC\Settings\Section::
getName
()¶ - returns the translated name as it should be displayed, e.g. ‘LDAP / ADintegration’. Use the L10N service to translate it.
Source: lib/private/Settings/Section.php#69 Returns: string
-
public
OC\Settings\Section::
getPriority
()¶ Source: Returns: int whether the form should be rather on the top or bottom of the settings navigation. The sections are arranged in ascending order of the priority values. It is required to return a value between 0 and 99.
E.g.: 70
-
public
OC\Settings\Section::
getIcon
()¶ - returns the relative path to an 16*16 icon describing the section.e.g. ‘/core/img/places/files.svg’
Source: lib/private/Settings/Section.php#91 Since: 12