19 declare(strict_types=1);
39 protected int $test_id
43 $this->db = $DIC[
'ilDB'];
44 $this->
lng = $DIC[
'lng'];
74 return $this->test_id;
79 $this->test_id = $test_id;
165 $participantData->setActiveIdsFilter(array($active_id));
166 $participantData->setParticipantAccessFilter($access_filter);
167 $participantData->load($this->
getTestId());
169 return in_array($active_id, $participantData->getActiveIds());
174 $access_filter = $this->participant_access_filter->getAccessResultsUserFilter($this->
getRefId());
180 $access_filter = $this->participant_access_filter->getScoreParticipantsUserFilter($this->
getRefId());
186 $access_filter = $this->participant_access_filter->getAccessStatisticsUserFilter($this->
getRefId());
checkAccessForActiveId(Closure $access_filter, int $active_id)
checkScoreParticipantsAccess()
checkResultsAccessForActiveId(int $active_id)
setAccess(ilAccessHandler $access)
checkScoreParticipantsAccessForActiveId(int $active_id)
checkParticipantsResultsAccess()
const OP_SCORE_PARTICIPANTS
checkStatisticsAccessForActiveId(int $active_id)
const OP_MANAGE_PARTICIPANTS
checkManageParticipantsAccess()
ilTestParticipantAccessFilterFactory $participant_access_filter