ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly \ilDBInterface $database) | |
countParticipants (int $test_id, ?array $filter) | |
getParticipants (int $test_id, ?array $filter=null, ?Range $range=null, ?Order $order=null) | |
getParticipantByActiveId (int $test_id, int $active_id) | |
getParticipantByUserId (int $test_id, int $user_id) | |
updateExtraTime (Participant $participant) | |
updateIpRange (array $participants) | |
lookupTestIdByActiveId (int $active_id) | |
removeParticipants (array $selected_participants) | |
getFirstAndLastVisitForActiveId (int $active_id) | |
removeExtraTimeByUserId (int $test_id, array $user_ids) | |
Private Member Functions | |
fetchParticipant (string $query, array $types, array $values) | |
applyFilter (?array $filter, array $where, array $types, array $values) | |
applyOrder (?Order $order) | |
isFilterSet (array $filter, string $key) | |
getBaseQuery () | |
arrayToObject (array $row) | |
getActiveParticipantsQuery () | |
getInvitedParticipantsQuery () | |
Definition at line 26 of file ParticipantRepository.php.
ILIAS\Test\Participants\ParticipantRepository::__construct | ( | private readonly \ilDBInterface | $database | ) |
Definition at line 28 of file ParticipantRepository.php.
|
private |
array<string,mixed> | $filter |
array<int,string> | $where |
array<int,string> | $types |
array<int,mixed> | $values |
Definition at line 245 of file ParticipantRepository.php.
References ILIAS\Test\Participants\ParticipantRepository\isFilterSet(), and null.
Referenced by ILIAS\Test\Participants\ParticipantRepository\countParticipants(), and ILIAS\Test\Participants\ParticipantRepository\getParticipants().
|
private |
Definition at line 284 of file ParticipantRepository.php.
References ILIAS\Data\Order\get(), and null.
Referenced by ILIAS\Test\Participants\ParticipantRepository\getParticipants().
|
private |
Definition at line 321 of file ParticipantRepository.php.
References null.
Referenced by ILIAS\Test\Participants\ParticipantRepository\fetchParticipant(), and ILIAS\Test\Participants\ParticipantRepository\getParticipants().
ILIAS\Test\Participants\ParticipantRepository::countParticipants | ( | int | $test_id, |
?array | $filter | ||
) |
int | $test_id | |
array<string,mixed> | $filter |
Definition at line 39 of file ParticipantRepository.php.
References ILIAS\Test\Participants\ParticipantRepository\applyFilter().
|
private |
array<int,string> | $types |
array<int,mixed> | $values |
Definition at line 225 of file ParticipantRepository.php.
References ILIAS\Test\Participants\ParticipantRepository\arrayToObject(), and null.
Referenced by ILIAS\Test\Participants\ParticipantRepository\getParticipantByActiveId(), and ILIAS\Test\Participants\ParticipantRepository\getParticipantByUserId().
|
private |
Definition at line 349 of file ParticipantRepository.php.
|
private |
Definition at line 309 of file ParticipantRepository.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\getParticipants().
ILIAS\Test\Participants\ParticipantRepository::getFirstAndLastVisitForActiveId | ( | int | $active_id | ) |
Definition at line 197 of file ParticipantRepository.php.
References null.
|
private |
Definition at line 387 of file ParticipantRepository.php.
ILIAS\Test\Participants\ParticipantRepository::getParticipantByActiveId | ( | int | $test_id, |
int | $active_id | ||
) |
Definition at line 100 of file ParticipantRepository.php.
References ILIAS\Test\Participants\ParticipantRepository\fetchParticipant().
ILIAS\Test\Participants\ParticipantRepository::getParticipantByUserId | ( | int | $test_id, |
int | $user_id | ||
) |
Definition at line 109 of file ParticipantRepository.php.
References ILIAS\Test\Participants\ParticipantRepository\fetchParticipant().
ILIAS\Test\Participants\ParticipantRepository::getParticipants | ( | int | $test_id, |
?array | $filter = null , |
||
?Range | $range = null , |
||
?Order | $order = null |
||
) |
array<string,mixed> | $filter |
Definition at line 65 of file ParticipantRepository.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Test\Participants\ParticipantRepository\applyFilter(), ILIAS\Test\Participants\ParticipantRepository\applyOrder(), ILIAS\Test\Participants\ParticipantRepository\arrayToObject(), ILIAS\Test\Participants\ParticipantRepository\getBaseQuery(), and null.
|
private |
Definition at line 303 of file ParticipantRepository.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\applyFilter().
ILIAS\Test\Participants\ParticipantRepository::lookupTestIdByActiveId | ( | int | $active_id | ) |
Definition at line 149 of file ParticipantRepository.php.
References ILIAS\Repository\int().
ILIAS\Test\Participants\ParticipantRepository::removeExtraTimeByUserId | ( | int | $test_id, |
array | $user_ids | ||
) |
Definition at line 422 of file ParticipantRepository.php.
References ilDBConstants\T_INTEGER.
ILIAS\Test\Participants\ParticipantRepository::removeParticipants | ( | array | $selected_participants | ) |
array<Participant> | $selected_participants |
Definition at line 169 of file ParticipantRepository.php.
References ILIAS\Test\Participants\Participant\getUserId(), and ilDBConstants\T_INTEGER.
ILIAS\Test\Participants\ParticipantRepository::updateExtraTime | ( | Participant | $participant | ) |
Definition at line 118 of file ParticipantRepository.php.
References ILIAS\Test\Participants\Participant\getExtraTime(), ILIAS\Test\Participants\Participant\getTestId(), and ILIAS\Test\Participants\Participant\getUserId().
ILIAS\Test\Participants\ParticipantRepository::updateIpRange | ( | array | $participants | ) |
array<Participant> | $participants |
Definition at line 131 of file ParticipantRepository.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.