ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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, private readonly bool $scoring_finalized=false) | |
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) | |
isScoringFinalized () | |
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 , |
||
private readonly bool | $scoring_finalized = false |
||
) |
Definition at line 30 of file Participant.php.
ILIAS\Test\Participants\Participant::getActiveId | ( | ) |
Definition at line 59 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\allowActionForRecord(), and ILIAS\Test\Participants\ParticipantTableShowResultsAction\allowActionForRecord().
ILIAS\Test\Participants\Participant::getAnonymousId | ( | ) |
Definition at line 69 of file Participant.php.
ILIAS\Test\Participants\Participant::getAttemptOverviewInformation | ( | ) |
Definition at line 215 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters().
ILIAS\Test\Participants\Participant::getAttempts | ( | ) |
Definition at line 106 of file Participant.php.
ILIAS\Test\Participants\Participant::getClientIpFrom | ( | ) |
Definition at line 111 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\isUniqueClientIp().
ILIAS\Test\Participants\Participant::getClientIpTo | ( | ) |
Definition at line 126 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\isUniqueClientIp().
ILIAS\Test\Participants\Participant::getExtraTime | ( | ) |
Definition at line 94 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableExtraTimeAction\resolveHasDifferentExtraTime(), and ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::getFirstAccess | ( | ) |
Definition at line 175 of file Participant.php.
ILIAS\Test\Participants\Participant::getFirstname | ( | ) |
Definition at line 74 of file Participant.php.
ILIAS\Test\Participants\Participant::getLastAccess | ( | ) |
Definition at line 180 of file Participant.php.
ILIAS\Test\Participants\Participant::getLastFinishedAttempt | ( | ) |
Definition at line 165 of file Participant.php.
ILIAS\Test\Participants\Participant::getLastname | ( | ) |
Definition at line 79 of file Participant.php.
ILIAS\Test\Participants\Participant::getLastStartedAttempt | ( | ) |
Definition at line 160 of file Participant.php.
ILIAS\Test\Participants\Participant::getLogin | ( | ) |
Definition at line 84 of file Participant.php.
ILIAS\Test\Participants\Participant::getMatriculation | ( | ) |
Definition at line 89 of file Participant.php.
ILIAS\Test\Participants\Participant::getRemainingDuration | ( | int | $processing_time, |
bool | $reset_time_on_new_attempt | ||
) |
Definition at line 190 of file Participant.php.
ILIAS\Test\Participants\Participant::getSubmitted | ( | ) |
Definition at line 146 of file Participant.php.
ILIAS\Test\Participants\Participant::getTestId | ( | ) |
Definition at line 64 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::getTotalDuration | ( | ?int | $processing_time | ) |
Definition at line 151 of file Participant.php.
ILIAS\Test\Participants\Participant::getUserId | ( | ) |
Definition at line 54 of file Participant.php.
References $user_id.
Referenced by ILIAS\Test\Participants\ParticipantTableExtraTimeAction\allowActionForRecord(), ILIAS\Test\Participants\ParticipantTable\buildAccessFilteredParticipantsList(), ILIAS\Test\Participants\ParticipantTableFinishTestAction\getModal(), ILIAS\Test\Participants\ParticipantTable\loadRecords(), ILIAS\Test\Participants\ParticipantRepository\removeParticipants(), ILIAS\Test\Participants\ParticipantTableExtraTimeAction\saveExtraTime(), and ILIAS\Test\Participants\ParticipantRepository\updateExtraTime().
ILIAS\Test\Participants\Participant::hasAnsweredQuestionsForScoredAttempt | ( | ) |
Definition at line 185 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters().
ILIAS\Test\Participants\Participant::hasUnfinishedAttempts | ( | ) |
Definition at line 170 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\allowActionForRecord().
ILIAS\Test\Participants\Participant::isInvitedParticipant | ( | ) |
Definition at line 141 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\allowActionForRecord().
ILIAS\Test\Participants\Participant::isScoringFinalized | ( | ) |
Definition at line 234 of file Participant.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters().
ILIAS\Test\Participants\Participant::withAddedExtraTime | ( | int | $extra_time | ) |
Definition at line 99 of file Participant.php.
ILIAS\Test\Participants\Participant::withAttemptOverviewInformation | ( | ?AttemptOverview | $attempt_overview | ) |
Definition at line 220 of file Participant.php.
ILIAS\Test\Participants\Participant::withClientIpFrom | ( | ?string | $ip | ) |
Definition at line 116 of file Participant.php.
ILIAS\Test\Participants\Participant::withClientIpTo | ( | ?string | $ip | ) |
Definition at line 131 of file Participant.php.
ILIAS\Test\Participants\Participant::withRunningAttemptStart | ( | \DateTimeImmutable | $start_date | ) |
Definition at line 227 of file Participant.php.
|
private |
Definition at line 27 of file Participant.php.
|
private |
Definition at line 28 of file Participant.php.