ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Public Member Functions | |
__construct (private ilDBInterface $db, private ilTestRandomSourcePoolDefinitionQuestionCollectionProvider $question_collection_provider, private ilTestRandomQuestionSetSourcePoolDefinitionList $source_pool_definition_list) | |
initialise () | |
reset () | |
calculateQuantities (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
Protected Attributes | |
array | $quest_related_src_pool_def_register = [] |
array | $src_pool_def_related_quest_register = [] |
Definition at line 27 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
ilTestRandomQuestionsQuantitiesDistribution::__construct | ( | private ilDBInterface | $db, |
private ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | $question_collection_provider, | ||
private ilTestRandomQuestionSetSourcePoolDefinitionList | $source_pool_definition_list | ||
) |
Definition at line 41 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
|
protected |
Definition at line 67 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 75 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 59 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), and registerSrcPoolDefRelatedQuest().
|
protected |
Definition at line 48 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionSharingDefinitionList(), and registerQuestRelatedSrcPoolDef().
ilTestRandomQuestionsQuantitiesDistribution::calculateQuantities | ( | ilTestRandomQuestionSetSourcePoolDefinition | $definition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 368 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getAvailableSharedQuestionAmount(), getExclusiveQuestionAmount(), getIntersectionSharingDefinitionList(), and getSrcPoolDefRelatedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 319 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollectionSubsetApplicationList(), and getSharedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 310 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), and ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by calculateQuantities().
|
protected |
Definition at line 166 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance(), getSrcPoolDefRelatedQuestionCollection(), and isQuestionUsedByMultipleSrcPoolDefinitions().
Referenced by getExclusiveQuestionAmount(), getRequiredSharedQuestionAmount(), and getSharedQuestionCollection().
|
protected |
Definition at line 203 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollection(), getQuestRelatedSrcPoolDefinitionList(), and getSharedQuestionCollection().
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 188 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSharedQuestionCollection().
Referenced by getIntersectionQstCollectionByDefinitionMap().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 236 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildQuestionCollectionSubsetApplicationInstance(), buildQuestionCollectionSubsetApplicationListInstance(), and getIntersectionQstCollectionByDefinitionMap().
Referenced by getAvailableSharedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 264 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildSourcePoolDefinitionListInstance(), ilTestRandomQuestionSetSourcePoolDefinition\getId(), getQuestRelatedSrcPoolDefinitionList(), and getSharedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
$questionId |
Definition at line 100 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References null.
Referenced by getIntersectionQstCollectionByDefinitionMap(), and getIntersectionSharingDefinitionList().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 334 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), ilTestRandomQuestionSetSourcePoolDefinition\getId(), and ilTestRandomQuestionSetSourcePoolDefinition\getQuestionAmount().
Referenced by requiresSharedQuestions().
|
protected |
Definition at line 181 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), and getSrcPoolDefRelatedQuestionCollection().
Referenced by getAvailableSharedQuestionAmount(), getIntersectionQstCollectionByDefinitionMap(), getIntersectionQuestionCollection(), and getIntersectionSharingDefinitionList().
|
protected |
Definition at line 159 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 301 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), and getSrcPoolDefRelatedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
Definition at line 123 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), getSharedQuestionCollection(), and getSrcPoolDefRelatedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::initialise | ( | ) |
Definition at line 352 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References initialiseRegisters().
|
protected |
Definition at line 132 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSrcPoolDefQuestionCombinationCollection(), registerQuestRelatedSrcPoolDef(), and registerSrcPoolDefRelatedQuest().
Referenced by initialise().
|
protected |
ilTestRandomQuestionSetQuestion | $question |
Definition at line 291 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetQuestion\getQuestionId().
Referenced by getExclusiveQuestionCollection().
|
protected |
Definition at line 87 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildSourcePoolDefinitionListInstance().
Referenced by initialiseRegisters().
|
protected |
Definition at line 114 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance().
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 345 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getRequiredSharedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::reset | ( | ) |
Definition at line 357 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetRegisters().
|
protected |
Definition at line 82 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by resetRegisters().
|
protected |
Definition at line 153 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetQuestRelatedSrcPoolDefRegister(), and resetSrcPoolDefRelatedQuestRegister().
Referenced by reset().
|
protected |
Definition at line 109 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by resetRegisters().
|
protected |
Definition at line 32 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
|
protected |
Definition at line 37 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.