ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 111 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 119 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
Definition at line 103 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), and registerSrcPoolDefRelatedQuest().
|
protected |
Definition at line 92 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References $GLOBALS.
Referenced by getIntersectionSharingDefinitionList(), and registerQuestRelatedSrcPoolDef().
ilTestRandomQuestionsQuantitiesDistribution::calculateQuantities | ( | ilTestRandomQuestionSetSourcePoolDefinition | $definition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 463 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getAvailableSharedQuestionAmount(), getExclusiveQuestionAmount(), getIntersectionSharingDefinitionList(), and getSrcPoolDefRelatedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 414 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollectionSubsetApplicationList(), and getSharedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 405 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), and ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by calculateQuantities().
|
protected |
integer | $definitionId |
Definition at line 248 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance(), getSrcPoolDefRelatedQuestionCollection(), and isQuestionUsedByMultipleSrcPoolDefinitions().
Referenced by getExclusiveQuestionAmount(), getRequiredSharedQuestionAmount(), and getSharedQuestionCollection().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 295 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References array, ilTestRandomQuestionSetSourcePoolDefinition\getId(), getIntersectionQuestionCollection(), getQuestRelatedSrcPoolDefinitionList(), and getSharedQuestionCollection().
Referenced by getIntersectionQuestionCollectionSubsetApplicationList().
|
protected |
integer | $thisDefinitionId | |
integer | $thatDefinitionId |
Definition at line 279 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSharedQuestionCollection().
Referenced by getIntersectionQstCollectionByDefinitionMap().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 327 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildQuestionCollectionSubsetApplicationInstance(), buildQuestionCollectionSubsetApplicationListInstance(), getIntersectionQstCollectionByDefinitionMap(), and getSourcePoolDefinitionList().
Referenced by getAvailableSharedQuestionAmount().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 359 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 151 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getIntersectionQstCollectionByDefinitionMap(), and getIntersectionSharingDefinitionList().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 429 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getExclusiveQuestionCollection(), ilTestRandomQuestionSetSourcePoolDefinition\getId(), and ilTestRandomQuestionSetSourcePoolDefinition\getQuestionAmount().
Referenced by requiresSharedQuestions().
|
protected |
integer | $definitionId |
Definition at line 267 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 232 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getQuestionCollectionProvider(), and getSourcePoolDefinitionList().
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 396 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId(), and getSrcPoolDefRelatedQuestionCollection().
Referenced by calculateQuantities().
|
protected |
integer | $definitionId |
Definition at line 185 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
Referenced by getExclusiveQuestionCollection(), getSharedQuestionCollection(), and getSrcPoolDefRelatedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::initialise | ( | ) |
Definition at line 447 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References initialiseRegisters().
|
protected |
initialise the src-pool-def/question registers
Definition at line 199 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getSourcePoolDefinitionList(), getSrcPoolDefQuestionCombinationCollection(), registerQuestRelatedSrcPoolDef(), and registerSrcPoolDefRelatedQuest().
Referenced by initialise().
|
protected |
ilTestRandomQuestionSetQuestion | $question |
Definition at line 386 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References ilTestRandomQuestionSetQuestion\getQuestionId().
Referenced by getExclusiveQuestionCollection().
|
protected |
integer | $questionId | |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 138 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildSourcePoolDefinitionListInstance().
Referenced by initialiseRegisters().
|
protected |
integer | $definitionId | |
ilTestRandomQuestionSetQuestion | $randomSetQuestion |
Definition at line 172 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References buildRandomQuestionCollectionInstance().
Referenced by initialiseRegisters().
|
protected |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Definition at line 440 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References getRequiredSharedQuestionAmount().
ilTestRandomQuestionsQuantitiesDistribution::reset | ( | ) |
Definition at line 452 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetRegisters().
|
protected |
re-setter for questRelatedSrcPoolDefRegister
Definition at line 129 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References array.
Referenced by resetRegisters().
|
protected |
reset internal registers
Definition at line 221 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References resetQuestRelatedSrcPoolDefRegister(), and resetSrcPoolDefRelatedQuestRegister().
Referenced by reset().
|
protected |
re-setter the srcPoolDefRelatedQuestRegister
Definition at line 163 of file class.ilTestRandomQuestionsQuantitiesDistribution.php.
References array.
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.