diff options
Diffstat (limited to 'lib/Api/v1/Circles.php')
-rw-r--r-- | lib/Api/v1/Circles.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Api/v1/Circles.php b/lib/Api/v1/Circles.php index 262b0780..85618aa4 100644 --- a/lib/Api/v1/Circles.php +++ b/lib/Api/v1/Circles.php @@ -140,6 +140,20 @@ class Circles { /** + * Circles::joinedCircles(); + * + * Return all the circle the current user is a member. + * + * @return Circle[] + */ + public static function joinedCircles() + { + return self::listCircles(Circle::CIRCLES_ALL, '', Member::LEVEL_MEMBER); + } + + + + /** * Circles::detailsCircle(); * * WARNING - This function is called by the core - WARNING |