Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Api
diff options
context:
space:
mode:
authorMaxence Lange <maxence@pontapreta.net>2017-02-21 01:47:30 +0300
committerMaxence Lange <maxence@pontapreta.net>2017-02-21 01:47:30 +0300
commit1e2e44cfe4596fcae1c6a7eca7a97193293642d3 (patch)
tree02a445de6bfd29919d66e29ea15e605afc7fcb6f /lib/Api
parentea69e6c31041d0835af619392f919b55db45d064 (diff)
api
Diffstat (limited to 'lib/Api')
-rw-r--r--lib/Api/Circles.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Api/Circles.php b/lib/Api/Circles.php
index a0417051..1196749b 100644
--- a/lib/Api/Circles.php
+++ b/lib/Api/Circles.php
@@ -43,4 +43,22 @@ class Circles {
->createCircle($name, $type);
}
+
+ public static function listCircles($type) {
+ $c = self::getContainer();
+
+ return $c->query('CirclesService')
+ ->listCircles($type);
+ }
+
+
+ public static function detailsCircle($circle_id) {
+ $c = self::getContainer();
+
+ return $c->query('CirclesService')
+ ->detailsCircle($circle_id);
+ }
+
+
+
} \ No newline at end of file