ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilTestRandomSourcePoolDefinitionQuestionCollectionProvider $questionCollectionProvider) | |
setQuestionCollectionProvider (ilTestRandomSourcePoolDefinitionQuestionCollectionProvider $questionCollectionProvider) | |
getQuestionCollectionProvider () | |
setSourcePoolDefinitionList ($sourcePoolDefinitionList) | |
getSourcePoolDefinitionList () | |
initialise () | |
reset () | |
calculateQuantities (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
Protected Attributes | |
$questionCollectionProvider | |
$sourcePoolDefinitionList | |
$questRelatedSrcPoolDefRegister = array() | |
$srcPoolDefRelatedQuestRegister = array() | |
Definition at line 17 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
ilTestRandomQuestionsQuantitiesDistribution::__construct | ( | ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | $questionCollectionProvider | ) |
ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | $questionCollectionProvider |
Definition at line 48 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References setQuestionCollectionProvider().
|
protected |
Definition at line 112 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 120 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 104 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), and registerSrcPoolDefRelatedQuest().
|
protected |
Definition at line 92 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $DIC.
Referenced by getIntersectionSharingDefinitionList(), and registerQuestRelatedSrcPoolDef().
ilTestRandomQuestionsQuantitiesDistribution::calculateQuantities | ( | ilTestRandomQuestionSetSourcePoolDefinition | $definition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 464 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getAvailableSharedQuestionAmount(), getExclusiveQuestionAmount(), getIntersectionSharingDefinitionList(), and getSrcPoolDefRelatedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 415 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollectionSubsetApplicationList(), and getSharedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 406 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), and ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by calculateQuantities().
|
protected |
integer | $definitionId |
Definition at line 249 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance(), getSrcPoolDefRelatedQuestionCollection(), and isQuestionUsedByMultipleSrcPoolDefinitions().
Referenced by getExclusiveQuestionAmount(), getRequiredSharedQuestionAmount(), and getSharedQuestionCollection().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 296 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollection(), getQuestRelatedSrcPoolDefinitionList(), and getSharedQuestionCollection().
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
integer | $thisDefinitionId | |
integer | $thatDefinitionId |
Definition at line 280 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSharedQuestionCollection().
Referenced by getIntersectionQstCollectionByDefinitionMap().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 328 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildQuestionCollectionSubsetApplicationInstance(), buildQuestionCollectionSubsetApplicationListInstance(), getIntersectionQstCollectionByDefinitionMap(), and getSourcePoolDefinitionList().
Referenced by getAvailableSharedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 360 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildSourcePoolDefinitionListInstance(), ilTestRandomQuestionSetSourcePoolDefinition\getId(), getQuestRelatedSrcPoolDefinitionList(), and getSharedQuestionCollection().
Referenced by calculateQuantities().
ilTestRandomQuestionsQuantitiesDistribution::getQuestionCollectionProvider | ( | ) |
Definition at line 66 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $questionCollectionProvider.
Referenced by getSrcPoolDefQuestionCombinationCollection().
|
protected |
$questionId |
Definition at line 152 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQstCollectionByDefinitionMap(), and getIntersectionSharingDefinitionList().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 430 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), ilTestRandomQuestionSetSourcePoolDefinition\getId(), and ilTestRandomQuestionSetSourcePoolDefinition\getQuestionAmount().
Referenced by requiresSharedQuestions().
|
protected |
integer | $definitionId |
Definition at line 268 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), and getSrcPoolDefRelatedQuestionCollection().
Referenced by getAvailableSharedQuestionAmount(), getIntersectionQstCollectionByDefinitionMap(), getIntersectionQuestionCollection(), and getIntersectionSharingDefinitionList().
ilTestRandomQuestionsQuantitiesDistribution::getSourcePoolDefinitionList | ( | ) |
Definition at line 82 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $sourcePoolDefinitionList.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList(), getSrcPoolDefQuestionCombinationCollection(), and initialiseRegisters().
|
protected |
Definition at line 233 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getQuestionCollectionProvider(), and getSourcePoolDefinitionList().
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 397 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), and getSrcPoolDefRelatedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
integer | $definitionId |
Definition at line 186 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), getSharedQuestionCollection(), and getSrcPoolDefRelatedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::initialise | ( | ) |
Definition at line 448 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References initialiseRegisters().
|
protected |
initialise the src-pool-def/question registers
Definition at line 200 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSourcePoolDefinitionList(), getSrcPoolDefQuestionCombinationCollection(), registerQuestRelatedSrcPoolDef(), and registerSrcPoolDefRelatedQuest().
Referenced by initialise().
|
protected |
ilTestRandomQuestionSetQuestion | $question |
Definition at line 387 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetQuestion\getQuestionId().
Referenced by getExclusiveQuestionCollection().
|
protected |
integer | $questionId | |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 139 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildSourcePoolDefinitionListInstance().
Referenced by initialiseRegisters().
|
protected |
integer | $definitionId | |
ilTestRandomQuestionSetQuestion | $randomSetQuestion |
Definition at line 173 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance().
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 441 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getRequiredSharedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::reset | ( | ) |
Definition at line 453 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetRegisters().
|
protected |
re-setter for questRelatedSrcPoolDefRegister
Definition at line 130 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by resetRegisters().
|
protected |
reset internal registers
Definition at line 222 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetQuestRelatedSrcPoolDefRegister(), and resetSrcPoolDefRelatedQuestRegister().
Referenced by reset().
|
protected |
re-setter the srcPoolDefRelatedQuestRegister
Definition at line 164 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by resetRegisters().
ilTestRandomQuestionsQuantitiesDistribution::setQuestionCollectionProvider | ( | ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | $questionCollectionProvider | ) |
ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | $questionCollectionProvider |
Definition at line 58 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $questionCollectionProvider.
Referenced by __construct().
ilTestRandomQuestionsQuantitiesDistribution::setSourcePoolDefinitionList | ( | $sourcePoolDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList |
Definition at line 74 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $sourcePoolDefinitionList.
|
protected |
Definition at line 24 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getQuestionCollectionProvider(), and setQuestionCollectionProvider().
|
protected |
Definition at line 36 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
|
protected |
Definition at line 29 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getSourcePoolDefinitionList(), and setSourcePoolDefinitionList().
|
protected |
Definition at line 41 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.