Controller for Group model.
More...
|
| getGroups ($request, $response, $args) |
|
| createGroup ($request, $response, $args) |
|
| getDeletableGroups ($request, $response, $args) |
|
| getGroupMembers ($request, $response, $args) |
|
| addMember ($request, $response, $args) |
|
| __construct ($container) |
|
Controller for Group model.
Definition at line 34 of file GroupController.php.
◆ addMember()
Fossology\UI\Api\Controllers\GroupController::addMember |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Add a user to a group
- Parameters
-
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
- Returns
- ResponseHelper
- Exceptions
-
Definition at line 264 of file GroupController.php.
◆ createGroup()
Fossology\UI\Api\Controllers\GroupController::createGroup |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Create a given group
- Parameters
-
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
- Returns
- ResponseHelper
- Exceptions
-
Definition at line 71 of file GroupController.php.
◆ getDeletableGroups()
Fossology\UI\Api\Controllers\GroupController::getDeletableGroups |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Get a list of groups that can be deleted
- Parameters
-
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
- Returns
- ResponseHelper
Definition at line 193 of file GroupController.php.
◆ getGroupMembers()
Fossology\UI\Api\Controllers\GroupController::getGroupMembers |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Get users with their roles from a given group
- Parameters
-
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
- Returns
- ResponseHelper
- Exceptions
-
Definition at line 218 of file GroupController.php.
◆ getGroups()
Fossology\UI\Api\Controllers\GroupController::getGroups |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Get list of Groups
- Parameters
-
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
- Returns
- ResponseHelper
Definition at line 45 of file GroupController.php.
The documentation for this class was generated from the following file: