summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-05-16 01:40:36 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-23 12:36:37 +0200
commitb68fdb473d03878911b0874a75564c8a7f08d03d (patch)
treef403c34abe58347bd4f3aa6c926c077d6088eba7 /lib/public
parent560ab2e91158fa57b12cb5f382dfd79cbbc1ffc4 (diff)
downloadnextcloud-server-b68fdb473d03878911b0874a75564c8a7f08d03d.tar.gz
nextcloud-server-b68fdb473d03878911b0874a75564c8a7f08d03d.zip
Extend interfaces
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Settings/IManager.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Settings/IManager.php b/lib/public/Settings/IManager.php
index a406915ad09..2c992399267 100644
--- a/lib/public/Settings/IManager.php
+++ b/lib/public/Settings/IManager.php
@@ -88,6 +88,14 @@ interface IManager {
public function getAdminSections();
/**
+ * returns a list of the personal sections
+ *
+ * @return array array of ISection[] where key is the priority
+ * @since 12.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 +103,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 12.0.0
+ */
+ public function getPersonalSettings($section);
}