ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilTestRandomQuestionSetSourcePoolDefinition $sourcePoolDefinition) | |
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCheck constructor. More... | |
getSourcePoolDefinition () | |
setSourcePoolDefinition ($sourcePoolDefinition) | |
getIntersectionQuantitySharingDefinitionList () | |
setIntersectionQuantitySharingDefinitionList ($intersectionQuantitySharingDefinitionList) | |
getOverallQuestionAmount () | |
setOverallQuestionAmount ($overallQuestionAmount) | |
getExclusiveQuestionAmount () | |
setExclusiveQuestionAmount ($exclusiveQuestionAmount) | |
getAvailableSharedQuestionAmount () | |
setAvailableSharedQuestionAmount ($availableSharedQuestionAmount) | |
isRequiredAmountGuaranteedAvailable () | |
getDistributionReport (ilLanguage $lng) | |
Protected Attributes | |
$sourcePoolDefinition | |
$intersectionQuantitySharingDefinitionList | |
$overallQuestionAmount | |
$exclusiveQuestionAmount | |
$availableSharedQuestionAmount | |
Definition at line 10 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::__construct | ( | ilTestRandomQuestionSetSourcePoolDefinition | $sourcePoolDefinition | ) |
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCheck constructor.
ilTestRandomQuestionSetSourcePoolDefinition | $sourcePoolDefinition |
Definition at line 42 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References setSourcePoolDefinition().
|
protected |
ilLanguage | $lng |
Definition at line 262 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References getIntersectionQuantitySharingDefinitionList(), and ilLanguage\txt().
Referenced by getConcurrentRuleConflictMessage().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getAvailableSharedQuestionAmount | ( | ) |
Definition at line 114 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $availableSharedQuestionAmount.
Referenced by getConcurrentRuleConflictMessage(), getReservedSharedQuestionAmount(), and isRemainingRequiredQuestionAmountSatisfiedBySharedQuestionQuantity().
|
protected |
Definition at line 239 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References buildIntersectionQuestionSharingDefinitionsString(), getAvailableSharedQuestionAmount(), getReservedSharedQuestionAmount(), isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity(), and ilLanguage\txt().
Referenced by getDistributionReport().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getDistributionReport | ( | ilLanguage | $lng | ) |
Definition at line 209 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References getConcurrentRuleConflictMessage(), getRuleSatisfactionResultMessage(), and sourcePoolDefinitionIntersectionsExist().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getExclusiveQuestionAmount | ( | ) |
Definition at line 98 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $exclusiveQuestionAmount.
Referenced by getRemainingRequiredQuestionAmount(), getReservedSharedQuestionAmount(), and isRequiredQuestionAmountSatisfiedByExclusiveQuestionQuantity().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getIntersectionQuantitySharingDefinitionList | ( | ) |
Definition at line 66 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $intersectionQuantitySharingDefinitionList.
Referenced by buildIntersectionQuestionSharingDefinitionsString(), and sourcePoolDefinitionIntersectionsExist().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getOverallQuestionAmount | ( | ) |
Definition at line 82 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $overallQuestionAmount.
Referenced by getReservedSharedQuestionAmount(), getRuleSatisfactionResultMessage(), and isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity().
|
protected |
Definition at line 140 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $exclusiveQuestionAmount, getExclusiveQuestionAmount(), and getSourcePoolDefinition().
Referenced by isRemainingRequiredQuestionAmountSatisfiedBySharedQuestionQuantity().
|
protected |
Definition at line 130 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References getAvailableSharedQuestionAmount(), getExclusiveQuestionAmount(), and getOverallQuestionAmount().
Referenced by getConcurrentRuleConflictMessage().
|
protected |
Definition at line 220 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References getOverallQuestionAmount(), getSourcePoolDefinition(), isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity(), and ilLanguage\txt().
Referenced by getDistributionReport().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::getSourcePoolDefinition | ( | ) |
Definition at line 50 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $sourcePoolDefinition.
Referenced by getRemainingRequiredQuestionAmount(), getRuleSatisfactionResultMessage(), isRequiredQuestionAmountSatisfiedByExclusiveQuestionQuantity(), and isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity().
|
protected |
Definition at line 173 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $availableSharedQuestionAmount, getAvailableSharedQuestionAmount(), and getRemainingRequiredQuestionAmount().
Referenced by isRequiredAmountGuaranteedAvailable().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::isRequiredAmountGuaranteedAvailable | ( | ) |
Definition at line 196 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References isRemainingRequiredQuestionAmountSatisfiedBySharedQuestionQuantity(), and isRequiredQuestionAmountSatisfiedByExclusiveQuestionQuantity().
|
protected |
Definition at line 162 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $exclusiveQuestionAmount, getExclusiveQuestionAmount(), and getSourcePoolDefinition().
Referenced by isRequiredAmountGuaranteedAvailable().
|
protected |
Definition at line 151 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $overallQuestionAmount, getOverallQuestionAmount(), and getSourcePoolDefinition().
Referenced by getConcurrentRuleConflictMessage(), and getRuleSatisfactionResultMessage().
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::setAvailableSharedQuestionAmount | ( | $availableSharedQuestionAmount | ) |
int | $availableSharedQuestionAmount |
Definition at line 122 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $availableSharedQuestionAmount.
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::setExclusiveQuestionAmount | ( | $exclusiveQuestionAmount | ) |
int | $exclusiveQuestionAmount |
Definition at line 106 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $exclusiveQuestionAmount.
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::setIntersectionQuantitySharingDefinitionList | ( | $intersectionQuantitySharingDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $intersectionQuantitySharingDefinitionList |
Definition at line 74 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $intersectionQuantitySharingDefinitionList.
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::setOverallQuestionAmount | ( | $overallQuestionAmount | ) |
int | $overallQuestionAmount |
Definition at line 90 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $overallQuestionAmount.
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::setSourcePoolDefinition | ( | $sourcePoolDefinition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $sourcePoolDefinition |
Definition at line 58 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References $sourcePoolDefinition.
Referenced by __construct().
|
protected |
Definition at line 184 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
References getIntersectionQuantitySharingDefinitionList().
Referenced by getDistributionReport().
|
protected |
Definition at line 35 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
Referenced by getAvailableSharedQuestionAmount(), isRemainingRequiredQuestionAmountSatisfiedBySharedQuestionQuantity(), and setAvailableSharedQuestionAmount().
|
protected |
|
protected |
Definition at line 20 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
Referenced by getIntersectionQuantitySharingDefinitionList(), and setIntersectionQuantitySharingDefinitionList().
|
protected |
Definition at line 25 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
Referenced by getOverallQuestionAmount(), isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity(), and setOverallQuestionAmount().
|
protected |
Definition at line 15 of file class.ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation.php.
Referenced by getSourcePoolDefinition(), and setSourcePoolDefinition().