ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilAssQuestionHintRequestStatisticRegister.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
6
16{
21
28 {
29 if (!isset($this->requestsByTestPassIndexAndQuestionId[$passIndex])) {
30 $this->requestsByTestPassIndexAndQuestionId[$passIndex] = array();
31 }
32
33 $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId] = $request;
34 }
35
41 public function getRequestByTestPassIndexAndQuestionId($passIndex, $qId)
42 {
43 return $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId];
44 }
45}
foreach($paths as $path) $request
Definition: asyncclient.php:32
An exception for terminatinating execution or to throw for unit testing.
addRequestByTestPassIndexAndQuestionId($passIndex, $qId, ilAssQuestionHintRequestStatisticData $request)