ILIAS
Release_5_0_x_branch Revision 61816
|
Private Member Functions | |
loadQuestionTracking () | |
loadAnswerStatus () | |
loadPostponedQuestions () | |
loadCheckedQuestions () | |
saveNewlyTrackedQuestion () | |
getNewOrderIndexForQuestionTracking () | |
saveNewlyAnsweredQuestionsAnswerStatus () | |
saveNewlyPostponedQuestion () | |
removeQuestionsNotPostponedAnymore () | |
saveNewlyCheckedQuestion () | |
removeQuestionsNotCheckedAnymore () | |
fetchUpcomingQuestionId ($excludePostponedQuestions, $forceNonAnsweredQuestion) | |
trackQuestion ($questionId, $answerStatus) | |
fetchMostLeastPostponedQuestion ($postponedQuestions) |
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 |
Definition at line 14 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::__construct | ( | ilDB | $db, |
ilTestDynamicQuestionSet | $questionSet, | ||
$activeId | |||
) |
Constructor.
ilTestDynamicQuestionSet | $questionSet |
Definition at line 101 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId, $db, and $questionSet.
ilTestSequenceDynamicQuestionSet::cleanupQuestions | ( | ilTestSessionDynamicQuestionSet | $testSession | ) |
Definition at line 382 of file class.ilTestSequenceDynamicQuestionSet.php.
References ilTestSessionDynamicQuestionSet\getCurrentQuestionId(), isFilteredQuestion(), and ilTestSessionDynamicQuestionSet\setCurrentQuestionId().
|
private |
$postponedQuestions |
Definition at line 705 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions.
Referenced by fetchUpcomingQuestionId().
|
private |
Definition at line 436 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, fetchMostLeastPostponedQuestion(), isPreventCheckedQuestionsFromComingUpEnabled(), and isQuestionChecked().
Referenced by getUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getActiveId | ( | ) |
Definition at line 122 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId.
Referenced by getNewOrderIndexForQuestionTracking(), loadCheckedQuestions(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), saveNewlyTrackedQuestion(), and saveToDb().
ilTestSequenceDynamicQuestionSet::getCompleteQuestionsData | ( | ) |
Definition at line 675 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getCurrentPositionIndex | ( | $questionId | ) |
Definition at line 559 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getFilteredQuestionsData | ( | ) |
Definition at line 680 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getLastPositionIndex | ( | ) |
Definition at line 579 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 270 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, $row, and getActiveId().
Referenced by saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::getOpenQuestions | ( | ) |
Definition at line 538 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by openQuestionExists().
ilTestSequenceDynamicQuestionSet::getTrackedQuestionCount | ( | ) |
Definition at line 547 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getTrackedQuestionList | ( | $currentQuestionId = null | ) |
Definition at line 508 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getUpcomingQuestionId | ( | ) |
Definition at line 419 of file class.ilTestSequenceDynamicQuestionSet.php.
References fetchUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getUserSequenceQuestions | ( | ) |
Definition at line 687 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::hasStarted | ( | ) |
Definition at line 668 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackedQuestionExists().
ilTestSequenceDynamicQuestionSet::isAnsweredQuestion | ( | $questionId | ) |
Definition at line 477 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::isFilteredQuestion | ( | $questionId | ) |
Definition at line 490 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by cleanupQuestions().
ilTestSequenceDynamicQuestionSet::isPostponedQuestion | ( | $questionId | ) |
Definition at line 485 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::isPreventCheckedQuestionsFromComingUpEnabled | ( | ) |
Definition at line 132 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
Referenced by fetchUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::isQuestionChecked | ( | $questionId | ) |
Definition at line 604 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchUpcomingQuestionId().
|
private |
Definition at line 168 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
|
private |
Definition at line 214 of file class.ilTestSequenceDynamicQuestionSet.php.
References $res, $row, and getActiveId().
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadFromDb | ( | ) |
Definition at line 137 of file class.ilTestSequenceDynamicQuestionSet.php.
References loadAnswerStatus(), loadCheckedQuestions(), loadPostponedQuestions(), and loadQuestionTracking().
|
private |
Definition at line 195 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadQuestions | ( | ilObjTestDynamicQuestionSetConfig | $dynamicQuestionSetConfig, |
ilTestDynamicQuestionSetFilterSelection | $filterSelection | ||
) |
Definition at line 369 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 145 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::openQuestionExists | ( | ) |
Definition at line 533 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOpenQuestions().
|
private |
Definition at line 351 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 325 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::resetTrackedQuestionList | ( | ) |
Definition at line 528 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 291 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 339 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 308 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 250 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), and getNewOrderIndexForQuestionTracking().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::saveToDb | ( | ) |
Definition at line 226 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), removeQuestionsNotCheckedAnymore(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyCheckedQuestion(), saveNewlyPostponedQuestion(), and saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::setPreventCheckedQuestionsFromComingUpEnabled | ( | $preventCheckedQuestionsFromComingUpEnabled | ) |
Definition at line 127 of file class.ilTestSequenceDynamicQuestionSet.php.
References $preventCheckedQuestionsFromComingUpEnabled.
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredCorrect | ( | $questionId | ) |
Definition at line 630 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredWrong | ( | $questionId | ) |
Definition at line 643 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionChecked | ( | $questionId | ) |
Definition at line 598 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::setQuestionPostponed | ( | $questionId | ) |
Definition at line 609 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionUnchecked | ( | $questionId | ) |
Definition at line 593 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::trackedQuestionExists | ( | ) |
Definition at line 503 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by hasStarted().
|
private |
Definition at line 656 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by setQuestionAnsweredCorrect(), setQuestionAnsweredWrong(), and setQuestionPostponed().
ilTestSequenceDynamicQuestionSet::unsetQuestionPostponed | ( | $questionId | ) |
Definition at line 624 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 29 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getActiveId().
|
private |
Definition at line 69 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 79 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 19 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 89 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 94 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 74 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 44 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 49 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 54 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by fetchMostLeastPostponedQuestion(), and fetchUpcomingQuestionId().
|
private |
Definition at line 34 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by isPreventCheckedQuestionsFromComingUpEnabled(), and setPreventCheckedQuestionsFromComingUpEnabled().
|
private |
Definition at line 24 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 39 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 84 of file class.ilTestSequenceDynamicQuestionSet.php.