ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilDB $db, ilTestDynamicQuestionSet $questionSet, $activeId) | |
Constructor. | |
getActiveId () | |
loadFromDb () | |
saveToDb () | |
loadQuestions (ilObjTestDynamicQuestionSetConfig $dynamicQuestionSetConfig, ilTestDynamicQuestionSetFilterSelection $filterSelection) | |
cleanupQuestions (ilTestSessionDynamicQuestionSet $testSession) | |
getUpcomingQuestionId () | |
isAnsweredQuestion ($questionId) | |
isPostponedQuestion ($questionId) | |
isFilteredQuestion ($questionId) | |
trackedQuestionExists () | |
getTrackedQuestionList ($currentQuestionId=null) | |
resetTrackedQuestionList () | |
openQuestionExists () | |
getOpenQuestions () | |
getTrackedQuestionCount () | |
getCurrentPositionIndex ($questionId) | |
getLastPositionIndex () | |
setQuestionPostponed ($questionId) | |
unsetQuestionPostponed ($questionId) | |
setQuestionAnsweredCorrect ($questionId) | |
setQuestionAnsweredWrong ($questionId) | |
hasStarted () | |
getCompleteQuestionsData () | |
getFilteredQuestionsData () | |
getUserSequenceQuestions () |
Private Member Functions | |
loadQuestionTracking () | |
loadAnswerStatus () | |
loadPostponedQuestions () | |
saveNewlyTrackedQuestion () | |
getNewOrderIndexForQuestionTracking () | |
saveNewlyAnsweredQuestionsAnswerStatus () | |
saveNewlyPostponedQuestion () | |
removeQuestionsNotPostponedAnymore () | |
fetchUpcomingQuestionId ($excludePostponedQuestions, $forceNonAnsweredQuestion) | |
trackQuestion ($questionId, $answerStatus) | |
fetchMostLeastPostponedQuestion ($postponedQuestions) |
Private Attributes | |
$db = null | |
$questionSet = null | |
$activeId = null | |
$questionTracking = array() | |
$newlyTrackedQuestion | |
$newlyTrackedQuestionsStatus | |
$postponedQuestions = array() | |
$newlyPostponedQuestion | |
$newlyPostponedQuestionsCount | |
$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 86 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId, $db, and $questionSet.
ilTestSequenceDynamicQuestionSet::cleanupQuestions | ( | ilTestSessionDynamicQuestionSet | $testSession | ) |
Definition at line 311 of file class.ilTestSequenceDynamicQuestionSet.php.
References ilTestSessionDynamicQuestionSet\getCurrentQuestionId(), isFilteredQuestion(), and ilTestSessionDynamicQuestionSet\setCurrentQuestionId().
|
private |
$postponedQuestions |
Definition at line 613 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions.
Referenced by fetchUpcomingQuestionId().
|
private |
Definition at line 365 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, and fetchMostLeastPostponedQuestion().
Referenced by getUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getActiveId | ( | ) |
Definition at line 102 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId.
Referenced by getNewOrderIndexForQuestionTracking(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyPostponedQuestion(), saveNewlyTrackedQuestion(), and saveToDb().
ilTestSequenceDynamicQuestionSet::getCompleteQuestionsData | ( | ) |
Definition at line 583 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getCurrentPositionIndex | ( | $questionId | ) |
Definition at line 483 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getFilteredQuestionsData | ( | ) |
Definition at line 588 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getLastPositionIndex | ( | ) |
Definition at line 503 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 225 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, $row, and getActiveId().
Referenced by saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::getOpenQuestions | ( | ) |
Definition at line 462 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by openQuestionExists().
ilTestSequenceDynamicQuestionSet::getTrackedQuestionCount | ( | ) |
Definition at line 471 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getTrackedQuestionList | ( | $currentQuestionId = null | ) |
Definition at line 432 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::getUpcomingQuestionId | ( | ) |
Definition at line 348 of file class.ilTestSequenceDynamicQuestionSet.php.
References fetchUpcomingQuestionId().
ilTestSequenceDynamicQuestionSet::getUserSequenceQuestions | ( | ) |
Definition at line 595 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::hasStarted | ( | ) |
Definition at line 576 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackedQuestionExists().
ilTestSequenceDynamicQuestionSet::isAnsweredQuestion | ( | $questionId | ) |
Definition at line 401 of file class.ilTestSequenceDynamicQuestionSet.php.
ilTestSequenceDynamicQuestionSet::isFilteredQuestion | ( | $questionId | ) |
Definition at line 414 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by cleanupQuestions().
ilTestSequenceDynamicQuestionSet::isPostponedQuestion | ( | $questionId | ) |
Definition at line 409 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 137 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadFromDb | ( | ) |
Definition at line 107 of file class.ilTestSequenceDynamicQuestionSet.php.
References loadAnswerStatus(), loadPostponedQuestions(), and loadQuestionTracking().
|
private |
Definition at line 164 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::loadQuestions | ( | ilObjTestDynamicQuestionSetConfig | $dynamicQuestionSetConfig, |
ilTestDynamicQuestionSetFilterSelection | $filterSelection | ||
) |
Definition at line 298 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 114 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
ilTestSequenceDynamicQuestionSet::openQuestionExists | ( | ) |
Definition at line 457 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOpenQuestions().
|
private |
Definition at line 280 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::resetTrackedQuestionList | ( | ) |
Definition at line 452 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 246 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 263 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
|
private |
Definition at line 205 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), and getNewOrderIndexForQuestionTracking().
Referenced by saveToDb().
ilTestSequenceDynamicQuestionSet::saveToDb | ( | ) |
Definition at line 183 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyPostponedQuestion(), and saveNewlyTrackedQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredCorrect | ( | $questionId | ) |
Definition at line 538 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionAnsweredWrong | ( | $questionId | ) |
Definition at line 551 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::setQuestionPostponed | ( | $questionId | ) |
Definition at line 517 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
ilTestSequenceDynamicQuestionSet::trackedQuestionExists | ( | ) |
Definition at line 427 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by hasStarted().
|
private |
Definition at line 564 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by setQuestionAnsweredCorrect(), setQuestionAnsweredWrong(), and setQuestionPostponed().
ilTestSequenceDynamicQuestionSet::unsetQuestionPostponed | ( | $questionId | ) |
Definition at line 532 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 29 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct(), and getActiveId().
|
private |
Definition at line 64 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 19 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 74 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 79 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 54 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 59 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 39 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.
Referenced by fetchMostLeastPostponedQuestion(), and fetchUpcomingQuestionId().
|
private |
Definition at line 24 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by __construct().
|
private |
Definition at line 34 of file class.ilTestSequenceDynamicQuestionSet.php.
|
private |
Definition at line 69 of file class.ilTestSequenceDynamicQuestionSet.php.