| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilTestSequenceDynamicQuestionSet:
 Collaboration diagram for ilTestSequenceDynamicQuestionSet:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
| $postponedQuestions | 
Definition at line 613 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions.
Referenced by fetchUpcomingQuestionId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 365 of file class.ilTestSequenceDynamicQuestionSet.php.
References $postponedQuestions, and fetchMostLeastPostponedQuestion().
Referenced by getUpcomingQuestionId().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getActiveId | ( | ) | 
Definition at line 102 of file class.ilTestSequenceDynamicQuestionSet.php.
References $activeId.
Referenced by getNewOrderIndexForQuestionTracking(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyPostponedQuestion(), saveNewlyTrackedQuestion(), and saveToDb().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::getOpenQuestions | ( | ) | 
Definition at line 462 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by openQuestionExists().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::getUserSequenceQuestions | ( | ) | 
Definition at line 595 of file class.ilTestSequenceDynamicQuestionSet.php.
| ilTestSequenceDynamicQuestionSet::hasStarted | ( | ) | 
Definition at line 576 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackedQuestionExists().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::loadFromDb | ( | ) | 
Definition at line 107 of file class.ilTestSequenceDynamicQuestionSet.php.
References loadAnswerStatus(), loadPostponedQuestions(), and loadQuestionTracking().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 164 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, $res, and $row.
Referenced by loadFromDb().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::openQuestionExists | ( | ) | 
Definition at line 457 of file class.ilTestSequenceDynamicQuestionSet.php.
References getOpenQuestions().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 280 of file class.ilTestSequenceDynamicQuestionSet.php.
References $query, and getActiveId().
Referenced by saveToDb().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 263 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId().
Referenced by saveToDb().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 205 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), and getNewOrderIndexForQuestionTracking().
Referenced by saveToDb().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTestSequenceDynamicQuestionSet::saveToDb | ( | ) | 
Definition at line 183 of file class.ilTestSequenceDynamicQuestionSet.php.
References getActiveId(), removeQuestionsNotPostponedAnymore(), saveNewlyAnsweredQuestionsAnswerStatus(), saveNewlyPostponedQuestion(), and saveNewlyTrackedQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionAnsweredCorrect | ( | $questionId | ) | 
Definition at line 538 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionAnsweredWrong | ( | $questionId | ) | 
Definition at line 551 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::setQuestionPostponed | ( | $questionId | ) | 
Definition at line 517 of file class.ilTestSequenceDynamicQuestionSet.php.
References trackQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTestSequenceDynamicQuestionSet::trackedQuestionExists | ( | ) | 
Definition at line 427 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by hasStarted().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 564 of file class.ilTestSequenceDynamicQuestionSet.php.
Referenced by setQuestionAnsweredCorrect(), setQuestionAnsweredWrong(), and setQuestionPostponed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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.