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