ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilObjTest $testOBJ) | |
constructor More... | |
reset () | |
temporarily bugfix for resetting the state of this singleton smeyer –> BH: not required anymore More... | |
getSession ($activeId=null) | |
Creates and returns an instance of a test sequence that corresponds to the current test mode. More... | |
getSessionByUserId ($userId) | |
Private Member Functions | |
getNewTestSessionObject () | |
buildCacheKey ($userId) | |
Private Attributes | |
$testSession = array() | |
$testOBJ = null | |
Definition at line 10 of file class.ilTestSessionFactory.php.
ilTestSessionFactory::__construct | ( | ilObjTest | $testOBJ | ) |
constructor
ilObjTest | $testOBJ |
Definition at line 29 of file class.ilTestSessionFactory.php.
References $testOBJ.
|
private |
$userId |
Definition at line 130 of file class.ilTestSessionFactory.php.
Referenced by getSessionByUserId().
|
private |
Definition at line 106 of file class.ilTestSessionFactory.php.
References $testSession, ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
Referenced by getSession(), and getSessionByUserId().
ilTestSessionFactory::getSession | ( | $activeId = null | ) |
Creates and returns an instance of a test sequence that corresponds to the current test mode.
integer | $activeId |
Definition at line 54 of file class.ilTestSessionFactory.php.
References $DIC, $ilUser, $testSession, and getNewTestSessionObject().
ilTestSessionFactory::getSessionByUserId | ( | $userId | ) |
integer | $userId |
Definition at line 87 of file class.ilTestSessionFactory.php.
References $testSession, buildCacheKey(), and getNewTestSessionObject().
ilTestSessionFactory::reset | ( | ) |
temporarily bugfix for resetting the state of this singleton smeyer –> BH: not required anymore
Definition at line 39 of file class.ilTestSessionFactory.php.
|
private |
Definition at line 23 of file class.ilTestSessionFactory.php.
Referenced by __construct().
|
private |
Definition at line 17 of file class.ilTestSessionFactory.php.
Referenced by getNewTestSessionObject(), getSession(), and getSessionByUserId().