diff options
author | Maxence Lange <maxence@pontapreta.net> | 2017-02-21 01:47:30 +0300 |
---|---|---|
committer | Maxence Lange <maxence@pontapreta.net> | 2017-02-21 01:47:30 +0300 |
commit | 1e2e44cfe4596fcae1c6a7eca7a97193293642d3 (patch) | |
tree | 02a445de6bfd29919d66e29ea15e605afc7fcb6f /lib/Api | |
parent | ea69e6c31041d0835af619392f919b55db45d064 (diff) |
api
Diffstat (limited to 'lib/Api')
-rw-r--r-- | lib/Api/Circles.php | 18 |
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 |