Added API procedure "getMemberGroups"

This commit is contained in:
Frederic Guillot
2016-04-21 21:10:04 -04:00
parent b0e41bc81b
commit 60e0753b90
6 changed files with 97 additions and 0 deletions

View File

@@ -10,6 +10,11 @@ namespace Kanboard\Api;
*/
class GroupMember extends \Kanboard\Core\Base
{
public function getMemberGroups($user_id)
{
return $this->groupMember->getGroups($user_id);
}
public function getGroupMembers($group_id)
{
return $this->groupMember->getMembers($group_id);