1 <?php declare(strict_types = 1);
16 $this->pah->filterUserIdsByPositionOfCurrentUser($operation, $prg->
getRefId(), $prg->
getMembers())
26 $this->pah->filterUserIdsByPositionOfCurrentUser($operation, $prg->
getRefId(), $user_ids)
34 return count($this->pah->filterUserIdsByPositionOfCurrentUser($operation, $prg->
getRefId(), [$usr_id])) > 0;
39 return $this->pah->checkPositionAccess($pos_perm, $ref_id);
filterUsersAccessibleForOperation(ilObjStudyProgramme $prg, string $operation, array $user_ids)
getUsersInPrgAccessibleForOperation(ilObjStudyProgramme $prg, string $operation)
__construct(ilOrgUnitPositionAccessHandler $pah)
checkPositionAccess($pos_perm, int $ref_id)
Interface ilOrgUnitPositionAccessHandler.
isUserAccessibleForOperationAtPrg(int $usr_id, ilObjStudyProgramme $prg, string $operation)
getRefId()
get reference id public