ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 16 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::__construct | ( | ilDBInterface | $db, |
ilTestDynamicQuestionSet | $questionSet, | ||
$activeId | |||
) |
Constructor.
ilTestDynamicQuestionSet | $questionSet |
Definition at line 108 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId, $db, and $questionSet.
ilTestSequenceDynamicQuestionSet::cleanupQuestions | ( | ilTestSessionDynamicQuestionSet | $testSession | ) |
Definition at line 403 of file class.ilTestSequenceDynamicQuestionSet.php.
References ilTestSessionDynamicQuestionSet\getCurrentQuestionId(), isFilteredQuestion(), and ilTestSessionDynamicQuestionSet\setCurrentQuestionId().
|
private |
$postponedQuestions |
Definition at line 707 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions.
Referenced by fetchUpcomingQuestionId().
|
private |
Definition at line 750 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, and orderQuestionsByPostponeCount().
Referenced by getOrderedSequence().
|
private |
Definition at line 787 of file class.ilTestSequenceDynamicQuestionSet.php.
References $key.
Referenced by getOrderedSequence().
|
private |
Definition at line 454 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, fetchMostLeastPostponedQuestion(), isPreventCheckedQuestionsFromComingUpEnabled(), and isQuestionChecked().
Referenced by getUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getActiveId | ( | ) |
Implements ilTestSequenceSummaryProvider.
Definition at line 131 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId.
Referenced by getNewOrderIndexForQuestionTracking(), getSequenceSummary(), loadCheckedQuestions(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), saveNewlyTrackedQuestion(), and saveToDb().
ilTestSequenceDynamicQuestionSet::getCompleteQuestionsData | ( | ) |
Definition at line 678 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getCurrentPositionIndex | ( | $questionId | ) |
Definition at line 564 of file class.ilTestSequenceDynamicQuestionSet.php.
References $i, and getSelectionOrderedSequence().
ilTestSequenceDynamicQuestionSet::getCurrentQuestionId | ( | ) |
Definition at line 149 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
ilTestSequenceDynamicQuestionSet::getFilteredQuestionsData | ( | ) |
Definition at line 683 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getLastPositionIndex | ( | ) |
Definition at line 579 of file class.ilTestSequenceDynamicQuestionSet.php.
References getSelectionOrderedSequence().
|
private |
Definition at line 291 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, $row, and getActiveId().
Referenced by saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::getOpenQuestions | ( | ) |
Definition at line 544 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by openQuestionExists().
|
private |
Definition at line 804 of file class.ilTestSequenceDynamicQuestionSet.php.
References $correctAnsweredQuestions, $wrongAnsweredQuestions, fetchQuestionSequence(), and fetchTrackedCorrectAnsweredSequence().
Referenced by getSelectionOrderedSequence().
ilTestSequenceDynamicQuestionSet::getPass | ( | ) |
Definition at line 721 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getSequenceSummary().
ilTestSequenceDynamicQuestionSet::getQuestionSet | ( | ) |
Definition at line 673 of file class.ilTestSequenceDynamicQuestionSet.php.
References $questionSet.
Referenced by getSelectionOrderedSequence().
ilTestSequenceDynamicQuestionSet::getSelectionOrderedSequence | ( | ) |
Definition at line 839 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOrderedSequence(), and getQuestionSet().
Referenced by getCurrentPositionIndex(), getLastPositionIndex(), and getSequenceSummary().
ilTestSequenceDynamicQuestionSet::getSequenceSummary | ( | $obligationsFilterEnabled = false | ) |
Implements ilTestSequenceSummaryProvider.
Definition at line 854 of file class.ilTestSequenceDynamicQuestionSet.php.
References $key, $row, $summary, ilObjTest\_getSolvedQuestions(), ilObjTest\_instanciateQuestion(), getActiveId(), getPass(), getSelectionOrderedSequence(), and ilObjTest\isQuestionObligatory().
ilTestSequenceDynamicQuestionSet::getTrackedQuestionCount | ( | ) |
Definition at line 553 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getTrackedQuestionList | ( | $currentQuestionId = null | ) |
Definition at line 517 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
ilTestSequenceDynamicQuestionSet::getUpcomingQuestionId | ( | ) |
Definition at line 433 of file class.ilTestSequenceDynamicQuestionSet.php.
References fetchUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getUserSequenceQuestions | ( | ) |
Definition at line 690 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::hasFilteredQuestionListCheckedQuestions | ( | ) |
Definition at line 889 of file class.ilTestSequenceDynamicQuestionSet.php.
References isQuestionChecked().
ilTestSequenceDynamicQuestionSet::hasStarted | ( | ) |
Definition at line 663 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackedQuestionExists().
ilTestSequenceDynamicQuestionSet::isAnsweredQuestion | ( | $questionId | ) |
Definition at line 488 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::isFilteredQuestion | ( | $questionId | ) |
Definition at line 501 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by cleanupQuestions().
ilTestSequenceDynamicQuestionSet::isPostponedQuestion | ( | $questionId | ) |
Definition at line 496 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::isPreventCheckedQuestionsFromComingUpEnabled | ( | ) |
Definition at line 141 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
Referenced by fetchUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::isQuestionChecked | ( | $questionId | ) |
Definition at line 597 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchUpcomingQuestionId(), hasFilteredQuestionListCheckedQuestions(), and resetFilteredQuestionListsCheckedStatus().
|
private |
Definition at line 192 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
|
private |
Definition at line 233 of file class.ilTestSequenceDynamicQuestionSet.php.
References $res, $row, and getActiveId().
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadFromDb | ( | ) |
Definition at line 162 of file class.ilTestSequenceDynamicQuestionSet.php.
References loadAnswerStatus(), loadCheckedQuestions(), loadPostponedQuestions(), and loadQuestionTracking().
|
private |
Definition at line 215 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadQuestions | ( | ilObjTestDynamicQuestionSetConfig | $dynamicQuestionSetConfig, |
ilTestDynamicQuestionSetFilterSelection | $filterSelection | ||
) |
Definition at line 390 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 170 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::openQuestionExists | ( | ) |
Definition at line 539 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOpenQuestions().
|
private |
Definition at line 728 of file class.ilTestSequenceDynamicQuestionSet.php.
References $i, and $postponedQuestions.
Referenced by fetchQuestionSequence().
|
private |
Definition at line 370 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 345 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::resetFilteredQuestionListsCheckedStatus | ( | ) |
Definition at line 902 of file class.ilTestSequenceDynamicQuestionSet.php.
References isQuestionChecked(), and setQuestionUnchecked().
ilTestSequenceDynamicQuestionSet::resetTrackedQuestionList | ( | ) |
Definition at line 534 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 311 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 359 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 328 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 271 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), and getNewOrderIndexForQuestionTracking().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::saveToDb | ( | ) |
Definition at line 246 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), and saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::setCurrentQuestionId | ( | $currentQuestionId | ) |
int | $currentQuestionId |
Definition at line 157 of file class.ilTestSequenceDynamicQuestionSet.php.
References $currentQuestionId.
ilTestSequenceDynamicQuestionSet::setPreventCheckedQuestionsFromComingUpEnabled | ( | $preventCheckedQuestionsFromComingUpEnabled | ) |
Definition at line 136 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredCorrect | ( | $questionId | ) |
Definition at line 623 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredWrong | ( | $questionId | ) |
Definition at line 637 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionChecked | ( | $questionId | ) |
Definition at line 591 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::setQuestionPostponed | ( | $questionId | ) |
Definition at line 602 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionUnchecked | ( | $questionId | ) |
Definition at line 586 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by resetFilteredQuestionListsCheckedStatus().
ilTestSequenceDynamicQuestionSet::trackedQuestionExists | ( | ) |
Definition at line 512 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by hasStarted().
|
private |
Definition at line 651 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by setQuestionAnsweredCorrect(), setQuestionAnsweredWrong(), and setQuestionPostponed().
ilTestSequenceDynamicQuestionSet::unsetQuestionPostponed | ( | $questionId | ) |
Definition at line 616 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 31 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getActiveId().
|
private |
Definition at line 71 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 81 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getOrderedSequence().
|
private |
Definition at line 101 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getCurrentQuestionId(), getTrackedQuestionList(), and setCurrentQuestionId().
|
private |
Definition at line 21 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 91 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 96 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 76 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 61 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 66 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 46 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 51 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 56 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchMostLeastPostponedQuestion(), fetchQuestionSequence(), fetchUpcomingQuestionId(), and orderQuestionsByPostponeCount().
|
private |
Definition at line 36 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by isPreventCheckedQuestionsFromComingUpEnabled(), and setPreventCheckedQuestionsFromComingUpEnabled().
|
private |
Definition at line 26 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getQuestionSet().
|
private |
Definition at line 41 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 86 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by getOrderedSequence().