ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
setQuestions ($questions) | |
getQuestions () | |
addQuestion (ilTestRandomQuestionSetQuestion $question) | |
isGreaterThan ($amount) | |
isSmallerThan ($amount) | |
getMissingCount ($amount) | |
shuffleQuestions () | |
mergeQuestionCollection (self $questionCollection) | |
getUniqueQuestionCollection () | |
getRelativeComplementCollection (self $questionCollection) | |
getInvolvedQuestionIds () | |
getRandomQuestionCollection ($requiredAmount) |
Private Member Functions | |
getRandomArrayKeys ($array, $numKeys) |
Private Attributes | |
$questions = array() |
Definition at line 12 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::addQuestion | ( | ilTestRandomQuestionSetQuestion | $question | ) |
Definition at line 26 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::getInvolvedQuestionIds | ( | ) |
Definition at line 93 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions().
ilTestRandomQuestionSetQuestionCollection::getMissingCount | ( | $amount | ) |
Definition at line 41 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::getQuestions | ( | ) |
Definition at line 21 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References $questions.
Referenced by getInvolvedQuestionIds(), getRelativeComplementCollection(), and getUniqueQuestionCollection().
|
private |
Definition at line 119 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by getRandomQuestionCollection().
ilTestRandomQuestionSetQuestionCollection::getRandomQuestionCollection | ( | $requiredAmount | ) |
Definition at line 105 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getRandomArrayKeys().
Referenced by ilTestRandomQuestionSetBuilder\fetchQuestionsFromStageRandomly().
ilTestRandomQuestionSetQuestionCollection::getRelativeComplementCollection | ( | self | $questionCollection | ) |
Definition at line 76 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions().
ilTestRandomQuestionSetQuestionCollection::getUniqueQuestionCollection | ( | ) |
Definition at line 56 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions().
ilTestRandomQuestionSetQuestionCollection::isGreaterThan | ( | $amount | ) |
Definition at line 31 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::isSmallerThan | ( | $amount | ) |
Definition at line 36 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::mergeQuestionCollection | ( | self | $questionCollection | ) |
Definition at line 51 of file class.ilTestRandomQuestionSetQuestionCollection.php.
ilTestRandomQuestionSetQuestionCollection::setQuestions | ( | $questions | ) |
Definition at line 16 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References $questions.
ilTestRandomQuestionSetQuestionCollection::shuffleQuestions | ( | ) |
Definition at line 46 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by ilTestRandomQuestionSetBuilder\handleQuestionOrdering().
|
private |
Definition at line 14 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by getQuestions(), and setQuestions().