ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TestLoggingRepository.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\Test\Logging;
20
23
29{
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;
82
83 public function getLegacyLogsForObjId(?int $obj_id): array;
84}
Both the subject and the direction need to be specified when expressing an order.
Definition: Order.php:29
A simple class to express a naive range of whole positive numbers.
Definition: Range.php:29
storeQuestionAdministrationInteraction(TestQuestionAdministrationInteraction $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)
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)
storeScoringInteraction(TestScoringInteraction $interaction)
getLog(string $unique_identifier)
getLogsByUniqueIdentifiers(array $unique_identifiers)
storeParticipantInteraction(TestParticipantInteraction $interaction)
storeTestAdministrationInteraction(TestAdministrationInteraction $interaction)
storeError(TestError $interaction)
deleteLogs(array $unique_identifiers)
$ref_id
Definition: ltiauth.php:66
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...