39 $this->testSession = array();
50 if($activeId === null || $this->testSession[$activeId] === null)
67 $this->testOBJ->getTestId(), $ilUser->getId(),
$testSession->getAccessCodeFromSession()
74 return $this->testSession[$activeId];
91 $testSession->loadTestSession($this->testOBJ->getTestId(), $userId);
104 switch($this->testOBJ->getQuestionSetType())
109 require_once
'Modules/Test/classes/class.ilTestSession.php';
115 require_once
'Modules/Test/classes/class.ilTestSessionDynamicQuestionSet.php';
129 return "{$this->testOBJ->getTestId()}::{$userId}";
const QUESTION_SET_TYPE_RANDOM
type setting value for random question set
getSessionByUserId($userId)
getNewTestSessionObject()
__construct(ilObjTest $testOBJ)
constructor
const QUESTION_SET_TYPE_FIXED
type setting value for fixed question set
reset()
temporarily bugfix for resetting the state of this singleton smeyer
getSession($activeId=null)
Creates and returns an instance of a test sequence that corresponds to the current test mode...
const QUESTION_SET_TYPE_DYNAMIC
type setting value for dynamic question set (continues testing mode)