ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 $request.

28  {
29  if (!isset($this->requestsByTestPassIndexAndQuestionId[$passIndex])) {
30  $this->requestsByTestPassIndexAndQuestionId[$passIndex] = array();
31  }
32 
33  $this->requestsByTestPassIndexAndQuestionId[$passIndex][$qId] = $request;
34  }
foreach($paths as $path) $request
Definition: asyncclient.php:32

◆ 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: