19 declare(strict_types=1);
233 $lng->
txt(
'tst_msg_rand_quest_set_rule_not_satisfied_reserved'),
241 $lng->
txt(
'tst_msg_rand_quest_set_rule_not_satisfied_missing'),
254 $lng->
txt(
'tst_msg_rand_quest_set_rule_not_satisfied_reserved_shared'),
261 $lng->
txt(
'tst_msg_rand_quest_set_rule_not_satisfied_missing_shared'),
273 $definitionsString = [];
276 $definitionsString[] = sprintf(
277 $lng->
txt(
'tst_msg_rand_quest_set_rule_label'),
278 $definition->getSequencePosition()
282 $definitionsString =
'<ul><li>' . implode(
'</li><li>', $definitionsString) .
'</li></ul>';
283 return $definitionsString;
isRequiredQuestionAmountSatisfiedByExclusiveQuestionQuantity()
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setOverallQuestionAmount($overallQuestionAmount)
isRemainingRequiredQuestionAmountSatisfiedBySharedQuestionQuantity()
isRequiredQuestionAmountSatisfiedByOverallQuestionQuantity()
setIntersectionQuantitySharingDefinitionList($intersectionQuantitySharingDefinitionList)
getAvailableSharedQuestionAmount()
isRequiredAmountGuaranteedAvailable()
setExclusiveQuestionAmount($exclusiveQuestionAmount)
getExclusiveQuestionAmount()
setAvailableSharedQuestionAmount($availableSharedQuestionAmount)
buildIntersectionQuestionSharingDefinitionsString(ilLanguage $lng)
$availableSharedQuestionAmount
getIntersectionQuantitySharingDefinitionList()
__construct(ilTestRandomQuestionSetSourcePoolDefinition $sourcePoolDefinition)
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCheck constructor.
getRuleSatisfactionResultMessage(ilLanguage $lng)
sourcePoolDefinitionIntersectionsExist()
getSourcePoolDefinition()
getConcurrentRuleConflictMessage(ilLanguage $lng)
getOverallQuestionAmount()
getRemainingRequiredQuestionAmount()
getDistributionReport(ilLanguage $lng)
getReservedSharedQuestionAmount()
$intersectionQuantitySharingDefinitionList