GroupApi
extends AbstractApi
in package
Groups allow you to organize your projects based on specific characteristics
Table of Contents
Methods
- create() : Group|null
- Add Group
- delete() : mixed
- Delete Group
- get() : Group|null
- Get Group Info
- list() : ModelCollection
- List Groups
- report() : Report|null
- Generate Group Report
- update() : Group|mixed
- Edit Group
Methods
create()
Add Group
public
create(array<string|int, mixed> $data) : Group|null
Parameters
- $data : array<string|int, mixed>
Tags
Return values
Group|null —string $data[name] required
integer $data[parentId]
string $data[description]
delete()
Delete Group
public
delete(int $groupID) : mixed
Parameters
- $groupID : int
Tags
get()
Get Group Info
public
get(int $groupID) : Group|null
Parameters
- $groupID : int
Tags
Return values
Group|nulllist()
List Groups
public
list([array<string|int, mixed> $params = [] ]) : ModelCollection
Parameters
- $params : array<string|int, mixed> = []
-
integer $params[parentId]
integer $params[limit]
integer $params[offset]
Tags
Return values
ModelCollectionreport()
Generate Group Report
public
report(int $groupID, array<string|int, mixed> $data) : Report|null
Parameters
- $groupID : int
- $data : array<string|int, mixed>
-
string $data[name]
array $data[schema]
Tags
Return values
Report|nullupdate()
Edit Group
public
update(Group $group) : Group|mixed
Parameters
- $group : Group