| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
 Collaboration diagram for ilTestSessionFactory:
 Collaboration diagram for ilTestSessionFactory:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSessionFactory::getSessionByUserId | ( | $userId | ) | 
| integer | $userId | 
Definition at line 87 of file class.ilTestSessionFactory.php.
References $testSession, buildCacheKey(), and getNewTestSessionObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().