41 $this->testSession =
array();
56 if( $activeId === null || $this->testSession[$activeId] === null)
73 $this->testOBJ->getTestId(), $ilUser->getId(),
$testSession->getAccessCodeFromSession()
80 return $this->testSession[$activeId];
90 if( !isset($this->testSession[$this->
buildCacheKey($userId)]) )
97 $testSession->loadTestSession($this->testOBJ->getTestId(), $userId);
110 switch($this->testOBJ->getQuestionSetType())
115 require_once
'Modules/Test/classes/class.ilTestSession.php';
121 require_once
'Modules/Test/classes/class.ilTestSessionDynamicQuestionSet.php';
135 return "{$this->testOBJ->getTestId()}::{$userId}";
const QUESTION_SET_TYPE_RANDOM
type setting value for random question set
getSessionByUserId($userId)
getNewTestSessionObject()
Create styles array
The data for the language used.
__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 –> BH: not required anymore ...
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)