Definition at line 24 of file OrgUnitUserService.php.
◆ __construct()
OrgUnit\PublicApi\OrgUnitUserService::__construct |
( |
| ) |
|
◆ getEmailAdressesOfSuperiors()
OrgUnit\PublicApi\OrgUnitUserService::getEmailAdressesOfSuperiors |
( |
array |
$user_ids | ) |
|
- Parameters
-
- Returns
- string[]
Definition at line 52 of file OrgUnitUserService.php.
52 : array
53 {
54 $org_unit_user_repository = new ilOrgUnitUserRepository();
55 $org_unit_user_repository->withSuperiors();
56
57 return $org_unit_user_repository->getEmailAdressesOfSuperiors($user_ids);
58 }
◆ getUsers()
OrgUnit\PublicApi\OrgUnitUserService::getUsers |
( |
array |
$user_ids, |
|
|
bool |
$with_superios = false , |
|
|
bool |
$with_positions = false |
|
) |
| |
- Parameters
-
- Returns
- ilOrgUnitUser[]
Definition at line 34 of file OrgUnitUserService.php.
34 : array
35 {
36 $org_unit_user_repository = new ilOrgUnitUserRepository();
37
38 if ($with_superios) {
39 $org_unit_user_repository->withSuperiors();
40 }
41 if ($with_positions) {
42 $org_unit_user_repository->withPositions();
43 }
44
45 return $org_unit_user_repository->getOrgUnitUsers($user_ids);
46 }
The documentation for this class was generated from the following file: