Manager¶
-
class
OC\Settings\
Manager
¶ Source: lib/private/Settings/Manager.php#46 Implements: OCP\Settings\IManager
Properties¶
-
protected static property
OC\Settings\Manager::$
sectionClasses
¶ Source: lib/private/Settings/Manager.php#76 Type: array
-
protected static property
OC\Settings\Manager::$
sections
¶ Source: lib/private/Settings/Manager.php#79 Type: array
-
protected static property
OC\Settings\Manager::$
settingClasses
¶ Source: lib/private/Settings/Manager.php#134 Type: array
-
protected static property
OC\Settings\Manager::$
settings
¶ Source: lib/private/Settings/Manager.php#137 Type: array
Methods¶
-
public
OC\Settings\Manager::
__construct
($log, $l10nFactory, $url, $container)¶ Source: lib/private/Settings/Manager.php#63
-
public
OC\Settings\Manager::
registerSection
($type, $section)¶ Source: Parameters: - $type (string) ‘admin’ or ‘personal’
- $section (string) Class must implement OCPSettingsIIconSection
Returns: void
-
protected
OC\Settings\Manager::
getSections
($type)¶ Source: Parameters: - $type (string) ‘admin’ or ‘personal’
Returns:
-
public
OC\Settings\Manager::
registerSetting
($type, $setting)¶ Source: Parameters: - $type (string) ‘admin’ or ‘personal’
- $setting (string) Class must implement OCPSettingsISetting
Returns: void
-
protected
OC\Settings\Manager::
getSettings
($type, $section, $filter=null)¶ Source: Parameters: - $type (string) ‘admin’ or ‘personal’
- $section (string)
- $filter (
Closure
) optional filter to apply on all loaded ISettings
Returns:
-
public
OC\Settings\Manager::
getAdminSections
()¶ Source: lib/private/Settings/Manager.php#203
-
public
OC\Settings\Manager::
getAdminSettings
($section, $subAdminOnly=false)¶ Source: lib/private/Settings/Manager.php#226
-
public
OC\Settings\Manager::
getPersonalSections
()¶ Source: lib/private/Settings/Manager.php#251
-
public
OC\Settings\Manager::
getPersonalSettings
($section)¶ Source: lib/private/Settings/Manager.php#297