ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAssQuestionHintRequestStatisticRegister Class Reference
+ Collaboration diagram for ilAssQuestionHintRequestStatisticRegister:

Public Member Functions

 addRequestByTestPassIndexAndQuestionId ($passIndex, $qId, ilAssQuestionHintRequestStatisticData $request)
 
 getRequestByTestPassIndexAndQuestionId ($passIndex, $qId)
 

Protected Attributes

 $requestsByTestPassIndexAndQuestionId = array()
 

Detailed Description

Member Function Documentation

◆ addRequestByTestPassIndexAndQuestionId()

ilAssQuestionHintRequestStatisticRegister::addRequestByTestPassIndexAndQuestionId (   $passIndex,
  $qId,
ilAssQuestionHintRequestStatisticData  $request 
)
Parameters
integer$passIndex
integer$qId
ilAssQuestionHintRequestStatisticData$request

Definition at line 27 of file class.ilAssQuestionHintRequestStatisticRegister.php.

References array.

28  {
29  if (!isset($this->requestsByTestPassIndexAndQuestionId[$passIndex])) {
30  $this->requestsByTestPassIndexAndQuestionId[$passIndex] = array();
31  }
32 
33  $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId] = $request;
34  }
Create styles array
The data for the language used.

◆ getRequestByTestPassIndexAndQuestionId()

ilAssQuestionHintRequestStatisticRegister::getRequestByTestPassIndexAndQuestionId (   $passIndex,
  $qId 
)
Parameters
integer$passIndex
integer$qId
Returns
ilAssQuestionHintRequestStatisticData

Definition at line 41 of file class.ilAssQuestionHintRequestStatisticRegister.php.

42  {
43  return $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId];
44  }

Field Documentation

◆ $requestsByTestPassIndexAndQuestionId

ilAssQuestionHintRequestStatisticRegister::$requestsByTestPassIndexAndQuestionId = array()
protected

The documentation for this class was generated from the following file: