ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
31  $this->requestsByTestPassIndexAndQuestionId[$passIndex] = array();
32  }
33 
34  $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId] = $request;
35  }
36 
42  public function getRequestByTestPassIndexAndQuestionId($passIndex, $qId)
43  {
44  return $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId];
45  }
46 }
Create styles array
The data for the language used.
addRequestByTestPassIndexAndQuestionId($passIndex, $qId, ilAssQuestionHintRequestStatisticData $request)