| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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.
References ILIAS\Test\Participants\ParticipantRepository\isFilterSet().
Referenced by ILIAS\Test\Participants\ParticipantRepository\countParticipants(), and ILIAS\Test\Participants\ParticipantRepository\getParticipants().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 284 of file ParticipantRepository.php.
References ILIAS\Data\Order\get().
Referenced by ILIAS\Test\Participants\ParticipantRepository\getParticipants().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 321 of file ParticipantRepository.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\fetchParticipant(), and ILIAS\Test\Participants\ParticipantRepository\getParticipants().
 Here is the caller graph for this function:| 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().
 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\Test\Participants\ParticipantRepository\arrayToObject().
Referenced by ILIAS\Test\Participants\ParticipantRepository\getParticipantByActiveId(), and ILIAS\Test\Participants\ParticipantRepository\getParticipantByUserId().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  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().
 Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantRepository::getFirstAndLastVisitForActiveId | ( | int | $active_id | ) | 
Definition at line 197 of file ParticipantRepository.php.
      
  | 
  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().
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:| 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(), and ILIAS\Test\Participants\ParticipantRepository\getBaseQuery().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 303 of file ParticipantRepository.php.
Referenced by ILIAS\Test\Participants\ParticipantRepository\applyFilter().
 Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantRepository::lookupTestIdByActiveId | ( | int | $active_id | ) | 
Definition at line 149 of file ParticipantRepository.php.
References 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 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.
 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\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 ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.