|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Test\Participants\ParticipantRepository: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.
Referenced by ILIAS\Test\Participants\ParticipantRepository\countParticipants().
Here is the caller graph for this function:
|
private |
Definition at line 284 of file ParticipantRepository.php.
References ILIAS\Data\Order\get().
Here is the call graph for this function:
|
private |
Definition at line 322 of file ParticipantRepository.php.
| 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(), and ILIAS\Repository\database().
Here is the call graph for this function:
|
private |
| array<int,string> | $types |
| array<int,mixed> | $values |
Definition at line 225 of file ParticipantRepository.php.
References ILIAS\Repository\database().
Here is the call graph for this function:
|
private |
Definition at line 351 of file ParticipantRepository.php.
|
private |
Definition at line 309 of file ParticipantRepository.php.
| ILIAS\Test\Participants\ParticipantRepository::getFirstAndLastVisitForActiveId | ( | int | $active_id | ) |
Definition at line 197 of file ParticipantRepository.php.
References ILIAS\Repository\database().
Here is the call graph for this function:
|
private |
Definition at line 389 of file ParticipantRepository.php.
| ILIAS\Test\Participants\ParticipantRepository::getParticipantByActiveId | ( | int | $test_id, |
| int | $active_id | ||
| ) |
Definition at line 100 of file ParticipantRepository.php.
| ILIAS\Test\Participants\ParticipantRepository::getParticipantByUserId | ( | int | $test_id, |
| int | $user_id | ||
| ) |
Definition at line 109 of file ParticipantRepository.php.
References $user_id.
| 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.
|
private |
Definition at line 303 of file ParticipantRepository.php.
| ILIAS\Test\Participants\ParticipantRepository::lookupTestIdByActiveId | ( | int | $active_id | ) |
Definition at line 149 of file ParticipantRepository.php.
References ILIAS\Repository\database(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantRepository::removeExtraTimeByUserId | ( | int | $test_id, |
| array | $user_ids | ||
| ) |
Definition at line 424 of file ParticipantRepository.php.
References ILIAS\Repository\database(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantRepository::removeParticipants | ( | array | $selected_participants | ) |
| array<Participant> | $selected_participants |
Definition at line 169 of file ParticipantRepository.php.
References ILIAS\Repository\database(), ILIAS\Test\Participants\Participant\getUserId(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantRepository::updateExtraTime | ( | Participant | $participant | ) |
Definition at line 118 of file ParticipantRepository.php.
References ILIAS\Repository\database(), ILIAS\Test\Participants\Participant\getExtraTime(), ILIAS\Test\Participants\Participant\getTestId(), and ILIAS\Test\Participants\Participant\getUserId().
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantRepository::updateIpRange | ( | array | $participants | ) |
| array<Participant> | $participants |
Definition at line 131 of file ParticipantRepository.php.
References ILIAS\Repository\database(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function: