|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilTestSessionFactory:Public Member Functions | |
| __construct (private ilObjTest $test_obj, private ilDBInterface $db, private ilObjUser $user) | |
| reset () | |
| temporarily bugfix for resetting the state of this singleton smeyer --> BH: not required anymore More... | |
| getSession (?int $active_id=null) | |
| Creates and returns an instance of a test sequence that corresponds to the current test mode. More... | |
| getSessionByUserId (int $user_id) | |
Private Member Functions | |
| getNewTestSessionObject () | |
| buildCacheKey (int $user_id) | |
Private Attributes | |
| $testSession = [] | |
Definition at line 27 of file class.ilTestSessionFactory.php.
| ilTestSessionFactory::__construct | ( | private ilObjTest | $test_obj, |
| private ilDBInterface | $db, | ||
| private ilObjUser | $user | ||
| ) |
Definition at line 36 of file class.ilTestSessionFactory.php.
|
private |
| $userId |
Definition at line 116 of file class.ilTestSessionFactory.php.
References $user_id.
Referenced by getSessionByUserId().
Here is the caller graph for this function:
|
private |
Definition at line 107 of file class.ilTestSessionFactory.php.
References ILIAS\Repository\user().
Referenced by getSession(), and getSessionByUserId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSessionFactory::getSession | ( | ?int | $active_id = null | ) |
Creates and returns an instance of a test sequence that corresponds to the current test mode.
Definition at line 57 of file class.ilTestSessionFactory.php.
References $testSession, and getNewTestSessionObject().
Here is the call graph for this function:| ilTestSessionFactory::getSessionByUserId | ( | int | $user_id | ) |
| integer | $userId |
Definition at line 91 of file class.ilTestSessionFactory.php.
References $testSession, $user_id, buildCacheKey(), and getNewTestSessionObject().
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 48 of file class.ilTestSessionFactory.php.
|
private |
Definition at line 34 of file class.ilTestSessionFactory.php.
Referenced by getSession(), and getSessionByUserId().