ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
checkBuildable () | |
performBuild (ilTestSession $testSession) | |
getSrcPoolDefListRelatedQuestCombinationCollection (ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList) | |
getSrcPoolDefRelatedQuestCollection (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
getSrcPoolDefListRelatedQuestUniqueCollection (ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList) | |
getCheckMessages () | |
Static Public Member Functions | |
static | getInstance (ilDBInterface $db, ilObjTest $testOBJ, ilTestRandomQuestionSetConfig $questionSetConfig, ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList, ilTestRandomQuestionSetStagingPoolQuestionList $stagingPoolQuestionList) |
Protected Member Functions | |
__construct (ilDBInterface $db, ilObjTest $testOBJ, ilTestRandomQuestionSetConfig $questionSetConfig, ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList, ilTestRandomQuestionSetStagingPoolQuestionList $stagingPoolQuestionList) | |
storeQuestionSet (ilTestSession $testSession, $questionSet) | |
fetchQuestionsFromStageRandomly (ilTestRandomQuestionSetQuestionCollection $questionStage, $requiredQuestionAmount) | |
handleQuestionOrdering (ilTestRandomQuestionSetQuestionCollection $questionSet) | |
Protected Attributes | |
$db = null | |
$testOBJ = null | |
$questionSetConfig = null | |
$sourcePoolDefinitionList = null | |
$stagingPoolQuestionList = null | |
$checkMessages = array() | |
Private Member Functions | |
getQuestionIdsForSourcePoolDefinitionIds (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
buildSetQuestionCollection (ilTestRandomQuestionSetSourcePoolDefinition $definition, $questionIds) | |
hasTaxonomyFilter (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
hasTypeFilter (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
storeQuestion (ilTestSession $testSession, ilTestRandomQuestionSetQuestion $setQuestion) | |
Definition at line 25 of file class.ilTestRandomQuestionSetBuilder.php.
|
protected |
ilDBInterface | $db | |
ilObjTest | $testOBJ | |
ilTestRandomQuestionSetConfig | $questionSetConfig | |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | |
ilTestRandomQuestionSetStagingPoolQuestionList | $stagingPoolQuestionList |
Definition at line 63 of file class.ilTestRandomQuestionSetBuilder.php.
References $db, $questionSetConfig, $sourcePoolDefinitionList, $stagingPoolQuestionList, $testOBJ, checkBuildable(), and performBuild().
|
private |
Definition at line 146 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by getSrcPoolDefRelatedQuestCollection().
|
abstract |
|
protected |
Definition at line 209 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\getRandomQuestionCollection().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
ilTestRandomQuestionSetBuilder::getCheckMessages | ( | ) |
Definition at line 259 of file class.ilTestRandomQuestionSetBuilder.php.
References $checkMessages.
|
staticfinal |
Definition at line 225 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetConfig\isQuestionAmountConfigurationModePerPool().
Referenced by ilTestOutputGUI\generateRandomTestPassForActiveUser(), and ilTestRandomQuestionSetConfig\isQuestionSetBuildable().
|
private |
Definition at line 119 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getLifecycleFilter(), ilTestRandomQuestionSetSourcePoolDefinition\getMappedTaxonomyFilter(), ilTestRandomQuestionSetSourcePoolDefinition\getPoolId(), ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilter(), hasTaxonomyFilter(), and hasTypeFilter().
Referenced by getSrcPoolDefRelatedQuestCollection().
ilTestRandomQuestionSetBuilder::getSrcPoolDefListRelatedQuestCombinationCollection | ( | ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList |
Implements ilTestRandomSourcePoolDefinitionQuestionCollectionProvider.
Definition at line 83 of file class.ilTestRandomQuestionSetBuilder.php.
References getSrcPoolDefRelatedQuestCollection().
Referenced by getSrcPoolDefListRelatedQuestUniqueCollection().
ilTestRandomQuestionSetBuilder::getSrcPoolDefListRelatedQuestUniqueCollection | ( | ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList |
Implements ilTestRandomSourcePoolDefinitionQuestionCollectionProvider.
Definition at line 112 of file class.ilTestRandomQuestionSetBuilder.php.
References getSrcPoolDefListRelatedQuestCombinationCollection().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), ilTestRandomQuestionSetBuilderWithAmountPerTest\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
ilTestRandomQuestionSetBuilder::getSrcPoolDefRelatedQuestCollection | ( | ilTestRandomQuestionSetSourcePoolDefinition | $definition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Implements ilTestRandomSourcePoolDefinitionQuestionCollectionProvider.
Definition at line 99 of file class.ilTestRandomQuestionSetBuilder.php.
References buildSetQuestionCollection(), and getQuestionIdsForSourcePoolDefinitionIds().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and getSrcPoolDefListRelatedQuestCombinationCollection().
|
protected |
Definition at line 216 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\shuffleQuestions().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
private |
Definition at line 162 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedTaxonomyFilter().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
private |
Definition at line 171 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilter().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
abstract |
Referenced by __construct(), and ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable().
|
private |
Definition at line 194 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestRandomQuestionSetQuestion\getQuestionId(), ilTestRandomQuestionSetQuestion\getSequencePosition(), and ilTestRandomQuestionSetQuestion\getSourcePoolDefinitionId().
Referenced by storeQuestionSet().
|
protected |
Definition at line 181 of file class.ilTestRandomQuestionSetBuilder.php.
References storeQuestion().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
protected |
Definition at line 53 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by getCheckMessages().
|
protected |
Definition at line 30 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().