ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (private readonly int $user_id, private readonly ?int $active_id=null, private readonly ?int $test_id=null, private readonly ?string $anonymous_id=null, private readonly string $firstname='', private readonly string $lastname='', private readonly string $login='', private readonly string $matriculation='', private int $extra_time=0, private readonly int $attempts=0, private ?string $client_ip_from=null, private ?string $client_ip_to=null, private readonly ?int $invitation_date=null, private readonly ?bool $submitted=null, private readonly ?int $last_started_attempt=null, private readonly ?int $last_finished_attempt=null, private readonly bool $unfinished_attempts=false, private readonly ?\DateTimeImmutable $first_access=null, private readonly ?\DateTimeImmutable $last_access=null) | |
getUserId () | |
getActiveId () | |
getTestId () | |
getAnonymousId () | |
getFirstname () | |
getLastname () | |
getLogin () | |
getMatriculation () | |
getExtraTime () | |
withAddedExtraTime (int $extra_time) | |
getAttempts () | |
getClientIpFrom () | |
withClientIpFrom (?string $ip) | |
getClientIpTo () | |
withClientIpTo (?string $ip) | |
isInvitedParticipant () | |
getSubmitted () | |
getTotalDuration (?int $processing_time) | |
getLastStartedAttempt () | |
getLastFinishedAttempt () | |
hasUnfinishedAttempts () | |
getFirstAccess () | |
getLastAccess () | |
hasAnsweredQuestionsForScoredAttempt () | |
getRemainingDuration (int $processing_time, bool $reset_time_on_new_attempt) | |
getAttemptOverviewInformation () | |
withAttemptOverviewInformation (?AttemptOverview $attempt_overview) | |
withRunningAttemptStart (\DateTimeImmutable $start_date) | |
Private Attributes | |
AttemptOverview | $attempt_overview = null |
DateTimeImmutable | $running_attempt_start = null |
Definition at line 25 of file Participant.php.
ILIAS\Test\Participants\Participant::__construct | ( | private readonly int | $user_id, |
private readonly ?int | $active_id = null , |
||
private readonly ?int | $test_id = null , |
||
private readonly ?string | $anonymous_id = null , |
||
private readonly string | $firstname = '' , |
||
private readonly string | $lastname = '' , |
||
private readonly string | $login = '' , |
||
private readonly string | $matriculation = '' , |
||
private int | $extra_time = 0 , |
||
private readonly int | $attempts = 0 , |
||
private ?string | $client_ip_from = null , |
||
private ?string | $client_ip_to = null , |
||
private readonly ?int | $invitation_date = null , |
||
private readonly ?bool | $submitted = null , |
||
private readonly ?int | $last_started_attempt = null , |
||
private readonly ?int | $last_finished_attempt = null , |
||
private readonly bool | $unfinished_attempts = false , |
||
private readonly ?\DateTimeImmutable | $first_access = null , |
||
private readonly ?\DateTimeImmutable | $last_access = null |
||
) |
Definition at line 30 of file Participant.php.
ILIAS\Test\Participants\Participant::getActiveId | ( | ) |
Definition at line 58 of file Participant.php.
Referenced by ILIAS\Test\Results\Data\Factory\addAttemptOverviewInformationToParticipants(), ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTableShowResultsAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTableShowResultsAction\onSubmit(), and ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\onSubmit().
ILIAS\Test\Participants\Participant::getAnonymousId | ( | ) |
Definition at line 68 of file Participant.php.
ILIAS\Test\Participants\Participant::getAttemptOverviewInformation | ( | ) |
Definition at line 214 of file Participant.php.
References ILIAS\Test\Participants\Participant\$attempt_overview.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters(), and ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields().
ILIAS\Test\Participants\Participant::getAttempts | ( | ) |
Definition at line 105 of file Participant.php.
ILIAS\Test\Participants\Participant::getClientIpFrom | ( | ) |
Definition at line 110 of file Participant.php.
Referenced by ilTestAccess\isParticipantExplicitelyAllowedByIndividualIPRange(), and ILIAS\Test\Participants\ParticipantTableIpRangeAction\isUniqueClientIp().
ILIAS\Test\Participants\Participant::getClientIpTo | ( | ) |
Definition at line 125 of file Participant.php.
Referenced by ilTestAccess\isParticipantExplicitelyAllowedByIndividualIPRange(), and ILIAS\Test\Participants\ParticipantTableIpRangeAction\isUniqueClientIp().
ILIAS\Test\Participants\Participant::getExtraTime | ( | ) |
Definition at line 93 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableExtraTimeAction\getModal(), ILIAS\Test\Participants\ParticipantTableExtraTimeAction\resolveHasDifferentExtraTime(), and ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::getFirstAccess | ( | ) |
Definition at line 174 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields(), and ILIAS\Test\Participants\Participant\getRemainingDuration().
ILIAS\Test\Participants\Participant::getFirstname | ( | ) |
Definition at line 73 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\getModal(), and ILIAS\Test\Participants\ParticipantTableExtraTimeAction\getModal().
ILIAS\Test\Participants\Participant::getLastAccess | ( | ) |
Definition at line 179 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields(), and ILIAS\Test\Participants\Participant\getRemainingDuration().
ILIAS\Test\Participants\Participant::getLastFinishedAttempt | ( | ) |
Definition at line 164 of file Participant.php.
ILIAS\Test\Participants\Participant::getLastname | ( | ) |
Definition at line 78 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\getModal(), and ILIAS\Test\Participants\ParticipantTableExtraTimeAction\getModal().
ILIAS\Test\Participants\Participant::getLastStartedAttempt | ( | ) |
Definition at line 159 of file Participant.php.
ILIAS\Test\Participants\Participant::getLogin | ( | ) |
Definition at line 83 of file Participant.php.
ILIAS\Test\Participants\Participant::getMatriculation | ( | ) |
Definition at line 88 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields().
ILIAS\Test\Participants\Participant::getRemainingDuration | ( | int | $processing_time, |
bool | $reset_time_on_new_attempt | ||
) |
Definition at line 189 of file Participant.php.
References ILIAS\Test\Participants\Participant\getFirstAccess(), ILIAS\Test\Participants\Participant\getLastAccess(), ILIAS\Test\Participants\Participant\getTotalDuration(), and null.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields().
ILIAS\Test\Participants\Participant::getSubmitted | ( | ) |
Definition at line 145 of file Participant.php.
ILIAS\Test\Participants\Participant::getTestId | ( | ) |
Definition at line 63 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::getTotalDuration | ( | ?int | $processing_time | ) |
Definition at line 150 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields(), and ILIAS\Test\Participants\Participant\getRemainingDuration().
ILIAS\Test\Participants\Participant::getUserId | ( | ) |
Definition at line 53 of file Participant.php.
References $user_id.
Referenced by ILIAS\Test\Participants\ParticipantTableExtraTimeAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTable\buildAccessFilteredParticipantsList(), ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction\getModal(), ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\getModal(), ILIAS\Test\Participants\ParticipantTableFinishTestAction\getModal(), ILIAS\Test\Participants\ParticipantTable\loadRecords(), ILIAS\Test\Participants\ParticipantTableFinishTestAction\onSubmit(), ILIAS\Test\Participants\ParticipantRepository\removeParticipants(), ILIAS\Test\Participants\ParticipantTableExtraTimeAction\saveExtraTime(), and ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::hasAnsweredQuestionsForScoredAttempt | ( | ) |
Definition at line 184 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters().
ILIAS\Test\Participants\Participant::hasUnfinishedAttempts | ( | ) |
Definition at line 169 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\allowActionForRecord().
ILIAS\Test\Participants\Participant::isInvitedParticipant | ( | ) |
Definition at line 140 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\allowActionForRecord().
ILIAS\Test\Participants\Participant::withAddedExtraTime | ( | int | $extra_time | ) |
Definition at line 98 of file Participant.php.
ILIAS\Test\Participants\Participant::withAttemptOverviewInformation | ( | ?AttemptOverview | $attempt_overview | ) |
Definition at line 219 of file Participant.php.
References ILIAS\Test\Participants\Participant\$attempt_overview.
Referenced by ILIAS\Test\Results\Data\Factory\addAttemptOverviewInformationToParticipants().
ILIAS\Test\Participants\Participant::withClientIpFrom | ( | ?string | $ip | ) |
Definition at line 115 of file Participant.php.
References null.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\onSubmit().
ILIAS\Test\Participants\Participant::withClientIpTo | ( | ?string | $ip | ) |
Definition at line 130 of file Participant.php.
References null.
ILIAS\Test\Participants\Participant::withRunningAttemptStart | ( | \DateTimeImmutable | $start_date | ) |
Definition at line 226 of file Participant.php.
Referenced by ILIAS\Test\Results\Data\Factory\addAttemptOverviewInformationToParticipants().
|
private |
Definition at line 27 of file Participant.php.
Referenced by ILIAS\Test\Participants\Participant\getAttemptOverviewInformation(), and ILIAS\Test\Participants\Participant\withAttemptOverviewInformation().
|
private |
Definition at line 28 of file Participant.php.