ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilObjTest $testOBJ) | |
constructor | |
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. | |
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 28 of file class.ilTestSessionFactory.php.
References $testOBJ.
|
private |
$userId |
Definition at line 127 of file class.ilTestSessionFactory.php.
Referenced by getSessionByUserId().
|
private |
Definition at line 102 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 | null | $activeId |
Definition at line 48 of file class.ilTestSessionFactory.php.
References $ilUser, $testSession, and getNewTestSessionObject().
ilTestSessionFactory::getSessionByUserId | ( | $userId | ) |
integer | $userId |
Definition at line 82 of file class.ilTestSessionFactory.php.
References $testSession, buildCacheKey(), and getNewTestSessionObject().
ilTestSessionFactory::reset | ( | ) |
temporarily bugfix for resetting the state of this singleton smeyer
Definition at line 37 of file class.ilTestSessionFactory.php.
|
private |
Definition at line 22 of file class.ilTestSessionFactory.php.
Referenced by __construct().
|
private |
Definition at line 16 of file class.ilTestSessionFactory.php.
Referenced by getNewTestSessionObject(), getSession(), and getSessionByUserId().