| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilTestRandomQuestionSetQuestionCollection:
 Collaboration diagram for ilTestRandomQuestionSetQuestionCollection:Public Member Functions | |
| setQuestions (array $questions) | |
| getQuestions () | |
| addQuestion (ilTestRandomQuestionSetQuestion $question) | |
| current () | |
| next () | |
| key () | |
| valid () | |
| rewind () | |
| isGreaterThan ($amount) | |
| isSmallerThan ($amount) | |
| getMissingCount ($requiredAmount) | |
| shuffleQuestions () | |
| mergeQuestionCollection (self $questionCollection) | |
| getUniqueQuestionCollection () | |
| getRelativeComplementCollection (self $questionCollection) | |
| getIntersectionCollection (self $questionCollection) | |
| getQuestionAmount () | |
| getInvolvedQuestionIds () | |
| getRandomQuestionCollection (int $requiredAmount) | |
Private Member Functions | |
| getRandomArrayKeys (array $array, int $numKeys) | |
Private Attributes | |
| $questions = [] | |
Definition at line 28 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::addQuestion | ( | ilTestRandomQuestionSetQuestion | $question | ) | 
Definition at line 42 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by getIntersectionCollection(), and getRelativeComplementCollection().
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::current | ( | ) | 
Definition at line 47 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::getIntersectionCollection | ( | self | $questionCollection | ) | 
Definition at line 151 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References addQuestion(), and getQuestions().
 Here is the call graph for this function:| ilTestRandomQuestionSetQuestionCollection::getInvolvedQuestionIds | ( | ) | 
Definition at line 174 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions().
 Here is the call graph for this function:| ilTestRandomQuestionSetQuestionCollection::getMissingCount | ( | $requiredAmount | ) | 
| int | $requiredAmount | 
Definition at line 87 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::getQuestionAmount | ( | ) | 
Definition at line 168 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions().
 Here is the call graph for this function:| ilTestRandomQuestionSetQuestionCollection::getQuestions | ( | ) | 
Definition at line 37 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References $questions.
Referenced by getIntersectionCollection(), getInvolvedQuestionIds(), getQuestionAmount(), getRelativeComplementCollection(), getUniqueQuestionCollection(), and ilTestRandomQuestionSetBuilder\storeQuestionSet().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 198 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by getRandomQuestionCollection().
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::getRandomQuestionCollection | ( | int | $requiredAmount | ) | 
Definition at line 185 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getRandomArrayKeys().
Referenced by ilTestRandomQuestionSetBuilder\fetchQuestionsFromStageRandomly().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::getRelativeComplementCollection | ( | self | $questionCollection | ) | 
actually i would like to consider $this as quantity A passed $questionCollection is should be considered as quantity B
–> relative complement usually means all element from B missing in A
indeed we are considering $questionCollection as A and $this as B currently (!) when changing, do not forget to switch caller and param for all usages (!)
Definition at line 124 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References addQuestion(), and getQuestions().
 Here is the call graph for this function:| ilTestRandomQuestionSetQuestionCollection::getUniqueQuestionCollection | ( | ) | 
Definition at line 106 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References getQuestions(), and setQuestions().
 Here is the call graph for this function:| ilTestRandomQuestionSetQuestionCollection::isGreaterThan | ( | $amount | ) | 
Definition at line 74 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::isSmallerThan | ( | $amount | ) | 
Definition at line 79 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::key | ( | ) | 
Definition at line 58 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by valid().
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::mergeQuestionCollection | ( | self | $questionCollection | ) | 
Definition at line 101 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::next | ( | ) | 
Definition at line 53 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::rewind | ( | ) | 
Definition at line 68 of file class.ilTestRandomQuestionSetQuestionCollection.php.
| ilTestRandomQuestionSetQuestionCollection::setQuestions | ( | array | $questions | ) | 
Definition at line 32 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References $questions.
Referenced by getUniqueQuestionCollection().
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::shuffleQuestions | ( | ) | 
Definition at line 96 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by ilTestRandomQuestionSetBuilder\handleQuestionOrdering().
 Here is the caller graph for this function:| ilTestRandomQuestionSetQuestionCollection::valid | ( | ) | 
Definition at line 63 of file class.ilTestRandomQuestionSetQuestionCollection.php.
References key().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 30 of file class.ilTestRandomQuestionSetQuestionCollection.php.
Referenced by getQuestions(), and setQuestions().