diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2017-06-29 20:02:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 20:02:09 +0200 |
commit | 72d3bfcf56c40e24cbd706dfddb627d21ad8ad54 (patch) | |
tree | 3f565f387f05dd52fed8fa3e297bf776cee194df /lib/public | |
parent | 57c5a15e418dac9491403aba8266a97b7fadc064 (diff) | |
parent | 010a3c09f2c589f15dc885694fdb0f7febdb25d8 (diff) | |
download | nextcloud-server-72d3bfcf56c40e24cbd706dfddb627d21ad8ad54.tar.gz nextcloud-server-72d3bfcf56c40e24cbd706dfddb627d21ad8ad54.zip |
Merge pull request #4890 from nextcloud/unify-settings
Unify settings
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Settings/IManager.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/public/Settings/IManager.php b/lib/public/Settings/IManager.php index a406915ad09..7a24eab3896 100644 --- a/lib/public/Settings/IManager.php +++ b/lib/public/Settings/IManager.php @@ -38,6 +38,16 @@ interface IManager { const KEY_ADMIN_SECTION = 'admin-section'; /** + * @since 13.0.0 + */ + const KEY_PERSONAL_SETTINGS = 'personal'; + + /** + * @since 13.0.0 + */ + const KEY_PERSONAL_SECTION = 'personal-section'; + + /** * sets up settings according to data specified by an apps info.xml, within * the <settings> element. * @@ -88,6 +98,14 @@ interface IManager { public function getAdminSections(); /** + * returns a list of the personal sections + * + * @return array array of ISection[] where key is the priority + * @since 13.0.0 + */ + public function getPersonalSections(); + + /** * returns a list of the admin settings * * @param string $section the section id for which to load the settings @@ -95,4 +113,13 @@ interface IManager { * @since 9.1.0 */ public function getAdminSettings($section); + + /** + * returns a list of the personal settings + * + * @param string $section the section id for which to load the settings + * @return array array of IPersonal[] where key is the priority + * @since 13.0.0 + */ + public function getPersonalSettings($section); } |