ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
getAccess () | |
setAccess (ilAccessHandler $access) | |
getRefId () | |
checkCorrectionsAccess () | |
checkScoreParticipantsAccess () | |
checkManageParticipantsAccess () | |
checkParticipantsResultsAccess () | |
checkResultsAccessForActiveId (int $active_id, int $test_id) | |
checkScoreParticipantsAccessForActiveId (int $active_id, int $test_id) | |
isParticipantAllowed (int $obj_id, int $user_id) | |
Protected Member Functions | |
checkAccessForActiveId (Closure $access_filter, int $active_id, int $test_id) | |
Private Member Functions | |
isParticipantExplicitelyAllowedByIndividualIPRange (?Participant $participant, string $ip) | |
isIpAllowedToAccessTest (string $ip, SettingsAccess $access_settings) | |
isIpTypeOf (int $ip_type_flag, string $ip, string $range_start, string $range_end) | |
isIpv4Between (string $ip, string $range_start, string $range_end) | |
isIpv6Between (string $ip, string $range_start, string $range_end) | |
Definition at line 36 of file class.ilTestAccess.php.
|
protected |
Definition at line 138 of file class.ilTestAccess.php.
References ILIAS\Repository\lng().
Referenced by checkResultsAccessForActiveId(), and checkScoreParticipantsAccessForActiveId().
ilTestAccess::checkCorrectionsAccess | ( | ) |
Definition at line 77 of file class.ilTestAccess.php.
References getAccess(), and getRefId().
ilTestAccess::checkManageParticipantsAccess | ( | ) |
Definition at line 101 of file class.ilTestAccess.php.
References getAccess(), getRefId(), and ilOrgUnitOperation\OP_MANAGE_PARTICIPANTS.
ilTestAccess::checkParticipantsResultsAccess | ( | ) |
Definition at line 117 of file class.ilTestAccess.php.
References getAccess(), getRefId(), ilOrgUnitOperation\OP_ACCESS_RESULTS, and ilOrgUnitOperation\OP_MANAGE_PARTICIPANTS.
ilTestAccess::checkResultsAccessForActiveId | ( | int | $active_id, |
int | $test_id | ||
) |
Definition at line 148 of file class.ilTestAccess.php.
References checkAccessForActiveId(), and getRefId().
ilTestAccess::checkScoreParticipantsAccess | ( | ) |
Definition at line 85 of file class.ilTestAccess.php.
References getAccess(), getRefId(), and ilOrgUnitOperation\OP_SCORE_PARTICIPANTS.
ilTestAccess::checkScoreParticipantsAccessForActiveId | ( | int | $active_id, |
int | $test_id | ||
) |
Definition at line 154 of file class.ilTestAccess.php.
References checkAccessForActiveId(), and getRefId().
ilTestAccess::getAccess | ( | ) |
Definition at line 59 of file class.ilTestAccess.php.
References $access.
Referenced by checkCorrectionsAccess(), checkManageParticipantsAccess(), checkParticipantsResultsAccess(), and checkScoreParticipantsAccess().
ilTestAccess::getRefId | ( | ) |
Definition at line 69 of file class.ilTestAccess.php.
References $ref_id.
Referenced by checkCorrectionsAccess(), checkManageParticipantsAccess(), checkParticipantsResultsAccess(), checkResultsAccessForActiveId(), checkScoreParticipantsAccess(), checkScoreParticipantsAccessForActiveId(), and isParticipantAllowed().
|
private |
Definition at line 223 of file class.ilTestAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeFrom(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeTo(), ILIAS\Test\Settings\MainSettings\SettingsAccess\isIpRangeEnabled(), isIpTypeOf(), isIpv4Between(), and isIpv6Between().
Referenced by isParticipantAllowed().
|
private |
Definition at line 245 of file class.ilTestAccess.php.
Referenced by isIpAllowedToAccessTest(), and isParticipantExplicitelyAllowedByIndividualIPRange().
|
private |
Definition at line 252 of file class.ilTestAccess.php.
Referenced by isIpAllowedToAccessTest(), and isParticipantExplicitelyAllowedByIndividualIPRange().
|
private |
Definition at line 258 of file class.ilTestAccess.php.
Referenced by isIpAllowedToAccessTest(), and isParticipantExplicitelyAllowedByIndividualIPRange().
ilTestAccess::isParticipantAllowed | ( | int | $obj_id, |
int | $user_id | ||
) |
Definition at line 160 of file class.ilTestAccess.php.
References $_SERVER, Vendor\Package\$e, ilObjTest\_getTestIDFromObjectID(), ilObject\_lookupObjId(), getRefId(), isIpAllowedToAccessTest(), isParticipantExplicitelyAllowedByIndividualIPRange(), and null.
|
private |
Definition at line 201 of file class.ilTestAccess.php.
References ILIAS\Test\Participants\Participant\getClientIpFrom(), ILIAS\Test\Participants\Participant\getClientIpTo(), isIpTypeOf(), isIpv4Between(), isIpv6Between(), and null.
Referenced by isParticipantAllowed().
ilTestAccess::setAccess | ( | ilAccessHandler | $access | ) |
Definition at line 64 of file class.ilTestAccess.php.
References $access, and ILIAS\Repository\access().
|
protected |
Definition at line 38 of file class.ilTestAccess.php.
Referenced by getAccess(), and setAccess().
|
protected |
Definition at line 39 of file class.ilTestAccess.php.
|
protected |
Definition at line 40 of file class.ilTestAccess.php.
|
protected |
Definition at line 41 of file class.ilTestAccess.php.
|
protected |
Definition at line 43 of file class.ilTestAccess.php.
|
protected |
Definition at line 44 of file class.ilTestAccess.php.