Definition at line 8 of file OrgUnitUserService.php.
◆ __construct()
| OrgUnit\PublicApi\OrgUnitUserService::__construct |
( |
| ) |
|
◆ getEmailAdressesOfSuperiors()
| OrgUnit\PublicApi\OrgUnitUserService::getEmailAdressesOfSuperiors |
( |
array |
$user_ids | ) |
|
- Parameters
-
- Returns
- string[]
Definition at line 36 of file OrgUnitUserService.php.
36 : array
37 {
38 $org_unit_user_repository = new ilOrgUnitUserRepository();
39 $org_unit_user_repository->withSuperiors();
40
41 return $org_unit_user_repository->getEmailAdressesOfSuperiors($user_ids);
42 }
◆ getUsers()
| OrgUnit\PublicApi\OrgUnitUserService::getUsers |
( |
array |
$user_ids, |
|
|
bool |
$with_superios = false, |
|
|
bool |
$with_positions = false |
|
) |
| |
- Parameters
-
- Returns
- ilOrgUnitUser[]
Definition at line 18 of file OrgUnitUserService.php.
18 : array
19 {
20 $org_unit_user_repository = new ilOrgUnitUserRepository();
21
22 if ($with_superios) {
23 $org_unit_user_repository->withSuperiors();
24 }
25 if ($with_positions) {
26 $org_unit_user_repository->withPositions();
27 }
28
29 return $org_unit_user_repository->getOrgUnitUsers($user_ids);
30 }
The documentation for this class was generated from the following file: