class GroupsRepository
Methods
|
__construct(DvsGroup $Group, DvsUser $User)
|
||
| DvsGroup |
findById(int $id)
Find group by id |
|
| DvsGroup |
findByName(string $name)
Find group by name |
|
| array |
groupList()
List all the groups |
|
| Collection |
groups()
Paginated list of groups |
|
| array |
groupListForUser(integer $userId)
Get a list of groups for the given user id |
Details
at line 9
public
__construct(DvsGroup $Group, DvsUser $User)
at line 21
public DvsGroup
findById(int $id)
Find group by id
at line 32
public DvsGroup
findByName(string $name)
Find group by name
at line 42
public array
groupList()
List all the groups
at line 52
public Collection
groups()
Paginated list of groups
at line 63
public array
groupListForUser(integer $userId)
Get a list of groups for the given user id