19 declare(strict_types=1);
36 if (!isset($this->requests_by_test_pass_and_question_id[$pass])) {
37 $this->requests_by_test_pass_and_question_id[$pass] = [];
40 $this->requests_by_test_pass_and_question_id[$pass][$question_id] = $request;
47 if (isset($this->requests_by_test_pass_and_question_id[$pass])
48 && isset($this->requests_by_test_pass_and_question_id[$pass][$question_id])) {
49 return $this->requests_by_test_pass_and_question_id[$pass][$question_id];
addRequestByTestPassIndexAndQuestionId(int $pass, int $question_id, ilAssQuestionHintRequestStatisticData $request)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getRequestByTestPassIndexAndQuestionId(int $pass, int $question_id)
$requests_by_test_pass_and_question_id