|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilTestSequenceDynamicQuestionSet:
Collaboration diagram for ilTestSequenceDynamicQuestionSet:Private Member Functions | |
| loadQuestionTracking () | |
| loadAnswerStatus () | |
| loadPostponedQuestions () | |
| loadCheckedQuestions () | |
| saveNewlyTrackedQuestion () | |
| getNewOrderIndexForQuestionTracking () | |
| saveNewlyAnsweredQuestionsAnswerStatus () | |
| saveNewlyPostponedQuestion () | |
| removeQuestionsNotPostponedAnymore () | |
| saveNewlyCheckedQuestion () | |
| removeQuestionsNotCheckedAnymore () | |
| fetchUpcomingQuestionId ($excludePostponedQuestions, $forceNonAnsweredQuestion) | |
| trackQuestion ($questionId, $answerStatus) | |
| fetchMostLeastPostponedQuestion ($postponedQuestions) | |
| orderQuestionsByPostponeCount ($postponedQuestions) | |
| fetchQuestionSequence ($nonPostponedQuestions, $nonAnsweredQuestions) | |
| fetchTrackedCorrectAnsweredSequence () | |
| getOrderedSequence () | |
Private Attributes | |
| $db = null | |
| $questionSet = null | |
| $activeId = null | |
| $preventCheckedQuestionsFromComingUpEnabled | |
| $questionTracking = array() | |
| $newlyTrackedQuestion | |
| $newlyTrackedQuestionsStatus | |
| $postponedQuestions = array() | |
| $newlyPostponedQuestion | |
| $newlyPostponedQuestionsCount | |
| $alreadyCheckedQuestions | |
| $newlyCheckedQuestion | |
| $correctAnsweredQuestions = array() | |
| $wrongAnsweredQuestions = array() | |
| $newlyAnsweredQuestion | |
| $newlyAnsweredQuestionsAnswerStatus | |
| $currentQuestionId | |
Definition at line 29 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::__construct | ( | ilDBInterface | $db, |
| ilTestDynamicQuestionSet | $questionSet, | ||
| $activeId | |||
| ) |
Constructor.
| ilTestDynamicQuestionSet | $questionSet |
Definition at line 121 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId, $db, and $questionSet.
| ilTestSequenceDynamicQuestionSet::cleanupQuestions | ( | ilTestSessionDynamicQuestionSet | $testSession | ) |
Definition at line 416 of file class.ilTestSequenceDynamicQuestionSet.php.
References ilTestSessionDynamicQuestionSet\getCurrentQuestionId(), isFilteredQuestion(), and ilTestSessionDynamicQuestionSet\setCurrentQuestionId().
Here is the call graph for this function:
|
private |
| $postponedQuestions |
Definition at line 720 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions.
Referenced by fetchUpcomingQuestionId().
Here is the caller graph for this function:
|
private |
Definition at line 763 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, and orderQuestionsByPostponeCount().
Referenced by getOrderedSequence().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 800 of file class.ilTestSequenceDynamicQuestionSet.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by getOrderedSequence().
Here is the caller graph for this function:
|
private |
Definition at line 467 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, fetchMostLeastPostponedQuestion(), isPreventCheckedQuestionsFromComingUpEnabled(), and isQuestionChecked().
Referenced by getUpcomingQuestionId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getActiveId | ( | ) |
Implements ilTestSequenceSummaryProvider.
Definition at line 144 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId.
Referenced by getNewOrderIndexForQuestionTracking(), getSequenceSummary(), loadCheckedQuestions(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), saveNewlyTrackedQuestion(), and saveToDb().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getCompleteQuestionsData | ( | ) |
Definition at line 691 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::getCurrentPositionIndex | ( | $questionId | ) |
Definition at line 577 of file class.ilTestSequenceDynamicQuestionSet.php.
References $i, and getSelectionOrderedSequence().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::getCurrentQuestionId | ( | ) |
Definition at line 162 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
| ilTestSequenceDynamicQuestionSet::getFilteredQuestionsData | ( | ) |
Definition at line 696 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::getLastPositionIndex | ( | ) |
Definition at line 592 of file class.ilTestSequenceDynamicQuestionSet.php.
References getSelectionOrderedSequence().
Here is the call graph for this function:
|
private |
Definition at line 304 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and getActiveId().
Referenced by saveNewlyTrackedQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getOpenQuestions | ( | ) |
Definition at line 557 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by openQuestionExists().
Here is the caller graph for this function:
|
private |
Definition at line 817 of file class.ilTestSequenceDynamicQuestionSet.php.
References $correctAnsweredQuestions, $wrongAnsweredQuestions, fetchQuestionSequence(), and fetchTrackedCorrectAnsweredSequence().
Referenced by getSelectionOrderedSequence().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getPass | ( | ) |
Definition at line 734 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::getQuestionSet | ( | ) |
Definition at line 686 of file class.ilTestSequenceDynamicQuestionSet.php.
References $questionSet.
Referenced by getSelectionOrderedSequence().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getSelectionOrderedSequence | ( | ) |
Definition at line 852 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOrderedSequence(), and getQuestionSet().
Referenced by getCurrentPositionIndex(), getLastPositionIndex(), and getSequenceSummary().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getSequenceSummary | ( | $obligationsFilterEnabled = false | ) |
Implements ilTestSequenceSummaryProvider.
Definition at line 867 of file class.ilTestSequenceDynamicQuestionSet.php.
References ILIAS\LTI\ToolProvider\$key, ilObjTest\_getSolvedQuestions(), ilObjTest\_instanciateQuestion(), getActiveId(), getSelectionOrderedSequence(), and ilObjTest\isQuestionObligatory().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::getTrackedQuestionCount | ( | ) |
Definition at line 566 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::getTrackedQuestionList | ( | $currentQuestionId = null | ) |
Definition at line 530 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
| ilTestSequenceDynamicQuestionSet::getUpcomingQuestionId | ( | ) |
Definition at line 446 of file class.ilTestSequenceDynamicQuestionSet.php.
References fetchUpcomingQuestionId().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::getUserSequenceQuestions | ( | ) |
Definition at line 703 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::hasFilteredQuestionListCheckedQuestions | ( | ) |
Definition at line 902 of file class.ilTestSequenceDynamicQuestionSet.php.
References isQuestionChecked().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::hasStarted | ( | ) |
Definition at line 676 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackedQuestionExists().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::isAnsweredQuestion | ( | $questionId | ) |
Definition at line 501 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::isFilteredQuestion | ( | $questionId | ) |
Definition at line 514 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by cleanupQuestions().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::isPostponedQuestion | ( | $questionId | ) |
Definition at line 509 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::isPreventCheckedQuestionsFromComingUpEnabled | ( | ) |
Definition at line 154 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
Referenced by fetchUpcomingQuestionId().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::isQuestionChecked | ( | $questionId | ) |
Definition at line 610 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchUpcomingQuestionId(), hasFilteredQuestionListCheckedQuestions(), and resetFilteredQuestionListsCheckedStatus().
Here is the caller graph for this function:
|
private |
Definition at line 205 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by loadFromDb().
Here is the caller graph for this function:
|
private |
Definition at line 246 of file class.ilTestSequenceDynamicQuestionSet.php.
References $res, and getActiveId().
Referenced by loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::loadFromDb | ( | ) |
Definition at line 175 of file class.ilTestSequenceDynamicQuestionSet.php.
References loadAnswerStatus(), loadCheckedQuestions(), loadPostponedQuestions(), and loadQuestionTracking().
Here is the call graph for this function:
|
private |
Definition at line 228 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::loadQuestions | ( | ilObjTestDynamicQuestionSetConfig | $dynamicQuestionSetConfig, |
| ilTestDynamicQuestionSetFilterSelection | $filterSelection | ||
| ) |
Definition at line 403 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 183 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::openQuestionExists | ( | ) |
Definition at line 552 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOpenQuestions().
Here is the call graph for this function:
|
private |
Definition at line 741 of file class.ilTestSequenceDynamicQuestionSet.php.
References $i, and $postponedQuestions.
Referenced by fetchQuestionSequence().
Here is the caller graph for this function:
|
private |
Definition at line 383 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 358 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::resetFilteredQuestionListsCheckedStatus | ( | ) |
Definition at line 915 of file class.ilTestSequenceDynamicQuestionSet.php.
References isQuestionChecked(), and setQuestionUnchecked().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::resetTrackedQuestionList | ( | ) |
Definition at line 547 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 324 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 372 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 341 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 284 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), and getNewOrderIndexForQuestionTracking().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::saveToDb | ( | ) |
Definition at line 259 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), and saveNewlyTrackedQuestion().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setCurrentQuestionId | ( | $currentQuestionId | ) |
| int | $currentQuestionId |
Definition at line 170 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
| ilTestSequenceDynamicQuestionSet::setPreventCheckedQuestionsFromComingUpEnabled | ( | $preventCheckedQuestionsFromComingUpEnabled | ) |
Definition at line 149 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
| ilTestSequenceDynamicQuestionSet::setQuestionAnsweredCorrect | ( | $questionId | ) |
Definition at line 636 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionAnsweredWrong | ( | $questionId | ) |
Definition at line 650 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionChecked | ( | $questionId | ) |
Definition at line 604 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::setQuestionPostponed | ( | $questionId | ) |
Definition at line 615 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionUnchecked | ( | $questionId | ) |
Definition at line 599 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by resetFilteredQuestionListsCheckedStatus().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::trackedQuestionExists | ( | ) |
Definition at line 525 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by hasStarted().
Here is the caller graph for this function:
|
private |
Definition at line 664 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by setQuestionAnsweredCorrect(), setQuestionAnsweredWrong(), and setQuestionPostponed().
Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::unsetQuestionPostponed | ( | $questionId | ) |
Definition at line 629 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 44 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getActiveId().
|
private |
Definition at line 84 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 94 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getOrderedSequence().
|
private |
Definition at line 114 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getCurrentQuestionId(), getTrackedQuestionList(), and setCurrentQuestionId().
|
private |
Definition at line 34 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 104 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 109 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 89 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 74 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 79 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 59 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 64 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 69 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchMostLeastPostponedQuestion(), fetchQuestionSequence(), fetchUpcomingQuestionId(), and orderQuestionsByPostponeCount().
|
private |
Definition at line 49 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by isPreventCheckedQuestionsFromComingUpEnabled(), and setPreventCheckedQuestionsFromComingUpEnabled().
|
private |
Definition at line 39 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getQuestionSet().
|
private |
Definition at line 54 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 99 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getOrderedSequence().