55 $this->testSession = array();
67 if ($activeId ===
null ||
68 $this->testSession === array() ||
69 !array_key_exists($activeId, $this->testSession) ||
70 $this->testSession[$activeId] ===
null
85 $this->testOBJ->getTestId(),
94 return $this->testSession[$activeId];
104 if (!isset($this->testSession[$this->
buildCacheKey($userId)])) {
110 $testSession->loadTestSession($this->testOBJ->getTestId(), $userId);
123 if ($this->testOBJ->isDynamicTest()) {
135 return "{$this->testOBJ->getTestId()}::{$userId}";
reset()
temporarily bugfix for resetting the state of this singleton smeyer --> BH: not required anymore
getSessionByUserId($userId)
__construct(ilObjTest $testOBJ)
constructor
getNewTestSessionObject()
getSession($activeId=null)
Creates and returns an instance of a test sequence that corresponds to the current test mode.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...