ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
TestLoggingRepository.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Test\Logging;
20 
23 
29 {
30  public function storeTestAdministrationInteraction(TestAdministrationInteraction $interaction): void;
32  public function storeParticipantInteraction(TestParticipantInteraction $interaction): void;
33  public function storeScoringInteraction(TestScoringInteraction $interaction): void;
34  public function storeError(TestError $interaction): void;
35 
39  public function getLogs(
40  array $valid_types,
41  ?array $test_filter,
42  ?Range $range = null,
43  ?Order $order = null,
44  ?int $from_filter = null,
45  ?int $to_filter = null,
46  ?array $admin_filter = null,
47  ?array $pax_filter = null,
48  ?array $question_filter = null,
49  ?string $ip_filter = null,
50  ?array $log_entry_type_filter = null,
51  ?array $interaction_type_filter = null
52  ): \Generator;
53 
54  public function getLogsCount(
55  array $valid_types,
56  ?array $test_filter,
57  ?int $from_filter = null,
58  ?int $to_filter = null,
59  ?array $admin_filter = null,
60  ?array $pax_filter = null,
61  ?array $question_filter = null,
62  ?string $ip_filter = null,
63  ?array $log_entry_type_filter = null,
64  ?array $interaction_type_filter = null
65  ): int;
66 
71  public function getLogsByUniqueIdentifiers(array $unique_identifiers): \Generator;
72 
73  public function getLog(string $unique_identifier): ?TestUserInteraction;
74 
78  public function deleteLogs(array $unique_identifiers): void;
79 
80  public function testHasParticipantInteractions(int $ref_id): bool;
81  public function deleteParticipantInteractionsForTest(int $ref_id): void;
82 
83  public function getLegacyLogsForObjId(?int $obj_id): array;
84 }
storeQuestionAdministrationInteraction(TestQuestionAdministrationInteraction $interaction)
storeTestAdministrationInteraction(TestAdministrationInteraction $interaction)
getLogsByUniqueIdentifiers(array $unique_identifiers)
storeError(TestError $interaction)
getLogsCount(array $valid_types, ?array $test_filter, ?int $from_filter=null, ?int $to_filter=null, ?array $admin_filter=null, ?array $pax_filter=null, ?array $question_filter=null, ?string $ip_filter=null, ?array $log_entry_type_filter=null, ?array $interaction_type_filter=null)
deleteLogs(array $unique_identifiers)
Both the subject and the direction need to be specified when expressing an order. ...
Definition: Order.php:28
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$ref_id
Definition: ltiauth.php:65
storeParticipantInteraction(TestParticipantInteraction $interaction)
storeScoringInteraction(TestScoringInteraction $interaction)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLog(string $unique_identifier)
A simple class to express a naive range of whole positive numbers.
Definition: Range.php:28
getLogs(array $valid_types, ?array $test_filter, ?Range $range=null, ?Order $order=null, ?int $from_filter=null, ?int $to_filter=null, ?array $admin_filter=null, ?array $pax_filter=null, ?array $question_filter=null, ?string $ip_filter=null, ?array $log_entry_type_filter=null, ?array $interaction_type_filter=null)