|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilAssQuestionPreviewSession:Public Member Functions | |
| __construct ($userId, $questionId) | |
| init () | |
| getUserId () | |
| getQuestionId () | |
| setInstantResponseActive ($instantResponseActive) | |
| isInstantResponseActive () | |
| setParticipantsSolution ($participantSolution) | |
| getParticipantsSolution () | |
| hasParticipantSolution () | |
| getNumRequestedHints () | |
| isHintRequested ($hintId) | |
| addRequestedHint ($hintId) | |
| getRequestedHints () | |
| resetRequestedHints () | |
| setRandomizerSeed ($seed) | |
| getRandomizerSeed () | |
| randomizerSeedExists () | |
Data Fields | |
| const | SESSION_BASEINDEX = 'ilAssQuestionPreviewSessions' |
| const | SESSION_SUBINDEX_INSTANT_RESPONSE_ACTIVE = 'instantResponseActive' |
| const | SESSION_SUBINDEX_PARTICIPANT_SOLUTION = 'participantSolution' |
| const | SESSION_SUBINDEX_REQUESTED_HINTS = 'requestedHints' |
| const | SESSION_SUBINDEX_RANDOMIZER_SEED = 'randomizerSeed' |
Private Member Functions | |
| getSessionContextIndex () | |
| saveSessionValue ($subIndex, $value) | |
| issetSessionValue ($subIndex) | |
| readSessionValue ($subIndex) | |
| ensureSessionStructureExists () | |
Private Attributes | |
| $userId | |
| $questionId | |
Definition at line 11 of file class.ilAssQuestionPreviewSession.php.
| ilAssQuestionPreviewSession::__construct | ( | $userId, | |
| $questionId | |||
| ) |
Definition at line 23 of file class.ilAssQuestionPreviewSession.php.
References $questionId, and $userId.
| ilAssQuestionPreviewSession::addRequestedHint | ( | $hintId | ) |
Definition at line 106 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue(), and saveSessionValue().
Here is the call graph for this function:
|
private |
Definition at line 138 of file class.ilAssQuestionPreviewSession.php.
References $_SESSION, getSessionContextIndex(), SESSION_BASEINDEX, SESSION_SUBINDEX_INSTANT_RESPONSE_ACTIVE, SESSION_SUBINDEX_PARTICIPANT_SOLUTION, and SESSION_SUBINDEX_RANDOMIZER_SEED.
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::getNumRequestedHints | ( | ) |
Definition at line 89 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Here is the call graph for this function:| ilAssQuestionPreviewSession::getParticipantsSolution | ( | ) |
Definition at line 79 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Referenced by assClozeTest\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assFlashQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assImagemapQuestion\calculateReachedPointsFromPreviewSession(), assJavaApplet\calculateReachedPointsFromPreviewSession(), assNumeric\calculateReachedPointsFromPreviewSession(), assOrderingQuestion\calculateReachedPointsFromPreviewSession(), assQuestion\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assFileUpload\getPreviewFileUploads(), assFileUpload\savePreviewData(), assFormulaQuestion\savePreviewData(), and assImagemapQuestion\savePreviewData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::getQuestionId | ( | ) |
Definition at line 39 of file class.ilAssQuestionPreviewSession.php.
References $questionId.
| ilAssQuestionPreviewSession::getRandomizerSeed | ( | ) |
Definition at line 128 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Referenced by randomizerSeedExists().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::getRequestedHints | ( | ) |
Definition at line 113 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Here is the call graph for this function:
|
private |
Definition at line 44 of file class.ilAssQuestionPreviewSession.php.
Referenced by ensureSessionStructureExists(), issetSessionValue(), readSessionValue(), and saveSessionValue().
Here is the caller graph for this function:| ilAssQuestionPreviewSession::getUserId | ( | ) |
Definition at line 34 of file class.ilAssQuestionPreviewSession.php.
References $userId.
Referenced by assFileUpload\savePreviewData().
Here is the caller graph for this function:| ilAssQuestionPreviewSession::hasParticipantSolution | ( | ) |
Definition at line 84 of file class.ilAssQuestionPreviewSession.php.
References issetSessionValue().
Referenced by assOrderingQuestion\calculateReachedPointsFromPreviewSession().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::init | ( | ) |
Definition at line 29 of file class.ilAssQuestionPreviewSession.php.
References ensureSessionStructureExists().
Here is the call graph for this function:| ilAssQuestionPreviewSession::isHintRequested | ( | $hintId | ) |
Definition at line 100 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Here is the call graph for this function:| ilAssQuestionPreviewSession::isInstantResponseActive | ( | ) |
Definition at line 69 of file class.ilAssQuestionPreviewSession.php.
References readSessionValue().
Here is the call graph for this function:
|
private |
Definition at line 54 of file class.ilAssQuestionPreviewSession.php.
References $_SESSION, and getSessionContextIndex().
Referenced by hasParticipantSolution().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::randomizerSeedExists | ( | ) |
Definition at line 133 of file class.ilAssQuestionPreviewSession.php.
References getRandomizerSeed().
Here is the call graph for this function:
|
private |
Definition at line 59 of file class.ilAssQuestionPreviewSession.php.
References $_SESSION, getSessionContextIndex(), and SESSION_BASEINDEX.
Referenced by addRequestedHint(), getNumRequestedHints(), getParticipantsSolution(), getRandomizerSeed(), getRequestedHints(), isHintRequested(), and isInstantResponseActive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::resetRequestedHints | ( | ) |
Definition at line 118 of file class.ilAssQuestionPreviewSession.php.
References saveSessionValue().
Here is the call graph for this function:
|
private |
Definition at line 49 of file class.ilAssQuestionPreviewSession.php.
References $_SESSION, getSessionContextIndex(), and SESSION_BASEINDEX.
Referenced by addRequestedHint(), resetRequestedHints(), setInstantResponseActive(), setParticipantsSolution(), and setRandomizerSeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::setInstantResponseActive | ( | $instantResponseActive | ) |
Definition at line 64 of file class.ilAssQuestionPreviewSession.php.
References saveSessionValue().
Here is the call graph for this function:| ilAssQuestionPreviewSession::setParticipantsSolution | ( | $participantSolution | ) |
Definition at line 74 of file class.ilAssQuestionPreviewSession.php.
References saveSessionValue().
Referenced by assErrorText\savePreviewData(), assFileUpload\savePreviewData(), assFormulaQuestion\savePreviewData(), assImagemapQuestion\savePreviewData(), assLongMenu\savePreviewData(), assMatchingQuestion\savePreviewData(), assNumeric\savePreviewData(), assOrderingQuestion\savePreviewData(), assQuestion\savePreviewData(), and assSingleChoice\savePreviewData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewSession::setRandomizerSeed | ( | $seed | ) |
Definition at line 123 of file class.ilAssQuestionPreviewSession.php.
References saveSessionValue().
Here is the call graph for this function:
|
private |
Definition at line 21 of file class.ilAssQuestionPreviewSession.php.
Referenced by __construct(), and getQuestionId().
|
private |
Definition at line 20 of file class.ilAssQuestionPreviewSession.php.
Referenced by __construct(), and getUserId().
| const ilAssQuestionPreviewSession::SESSION_BASEINDEX = 'ilAssQuestionPreviewSessions' |
Definition at line 13 of file class.ilAssQuestionPreviewSession.php.
Referenced by ensureSessionStructureExists(), readSessionValue(), and saveSessionValue().
| const ilAssQuestionPreviewSession::SESSION_SUBINDEX_INSTANT_RESPONSE_ACTIVE = 'instantResponseActive' |
Definition at line 15 of file class.ilAssQuestionPreviewSession.php.
Referenced by ensureSessionStructureExists().
| const ilAssQuestionPreviewSession::SESSION_SUBINDEX_PARTICIPANT_SOLUTION = 'participantSolution' |
Definition at line 16 of file class.ilAssQuestionPreviewSession.php.
Referenced by ensureSessionStructureExists().
| const ilAssQuestionPreviewSession::SESSION_SUBINDEX_RANDOMIZER_SEED = 'randomizerSeed' |
Definition at line 18 of file class.ilAssQuestionPreviewSession.php.
Referenced by ensureSessionStructureExists().
| const ilAssQuestionPreviewSession::SESSION_SUBINDEX_REQUESTED_HINTS = 'requestedHints' |
Definition at line 17 of file class.ilAssQuestionPreviewSession.php.