IManager
Tags
Table of Contents
- KEY_ADMIN_SECTION = 'admin-section'
- KEY_ADMIN_SETTINGS = 'admin'
- KEY_PERSONAL_SECTION = 'personal-section'
- KEY_PERSONAL_SETTINGS = 'personal'
- getAdminSections() : array
- returns a list of the admin sections
- getAdminSettings() : array
- returns a list of the admin settings
- getPersonalSections() : array
- returns a list of the personal sections
- getPersonalSettings() : array
- returns a list of the personal settings
- registerSection() : mixed
- registerSetting() : mixed
Constants
KEY_ADMIN_SECTION
    public
    mixed
    KEY_ADMIN_SECTION
    = 'admin-section'
    
    
    Tags
KEY_ADMIN_SETTINGS
    public
    mixed
    KEY_ADMIN_SETTINGS
    = 'admin'
    
    
    Tags
KEY_PERSONAL_SECTION
    public
    mixed
    KEY_PERSONAL_SECTION
    = 'personal-section'
    
    
    Tags
KEY_PERSONAL_SETTINGS
    public
    mixed
    KEY_PERSONAL_SETTINGS
    = 'personal'
    
    
    Tags
Methods
getAdminSections()
returns a list of the admin sections
    public
                getAdminSections() : array
    
    
    
    Tags
Return values
array —array of ISection[] where key is the priority
getAdminSettings()
returns a list of the admin settings
    public
                getAdminSettings(string $section[, bool $subAdminOnly = false ]) : array
    
        Parameters
- $section : string
- 
                    the section id for which to load the settings 
- $subAdminOnly : bool = false
- 
                    only return settings sub admins are supposed to see (since 17.0.0) 
Tags
Return values
array —array of IAdmin[] where key is the priority
getPersonalSections()
returns a list of the personal sections
    public
                getPersonalSections() : array
    
    
    
    Tags
Return values
array —array of ISection[] where key is the priority
getPersonalSettings()
returns a list of the personal settings
    public
                getPersonalSettings(string $section) : array
    
        Parameters
- $section : string
- 
                    the section id for which to load the settings 
Tags
Return values
array —array of IPersonal[] where key is the priority
registerSection()
    public
                registerSection(string $type, string $section) : mixed
    
        Parameters
- $type : string
- 
                    'admin' or 'personal' 
- $section : string
- 
                    Class must implement OCP\Settings\ISection 
Tags
Return values
mixed —registerSetting()
    public
                registerSetting(string $type, string $setting) : mixed
    
        Parameters
- $type : string
- 
                    'admin' or 'personal' 
- $setting : string
- 
                    Class must implement OCP\Settings\ISetting