ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
checkBuildable () | |
performBuild (ilTestSession $testSession) | |
getSrcPoolDefRelatedQuestCollection (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
getSrcPoolDefListRelatedQuestUniqueCollection (ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList) | |
getCheckMessages () | |
Public Member Functions inherited from ilTestRandomSourcePoolDefinitionQuestionCollectionProvider | |
getSrcPoolDefListRelatedQuestCombinationCollection (ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList) | |
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 12 of file class.ilTestRandomQuestionSetBuilder.php.
|
protected |
ilDBInterface | $db | |
ilObjTest | $testOBJ | |
ilTestRandomQuestionSetConfig | $questionSetConfig | |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | |
ilTestRandomQuestionSetStagingPoolQuestionList | $stagingPoolQuestionList |
Definition at line 50 of file class.ilTestRandomQuestionSetBuilder.php.
References $db, $questionSetConfig, $sourcePoolDefinitionList, $stagingPoolQuestionList, $testOBJ, checkBuildable(), ilTestRandomSourcePoolDefinitionQuestionCollectionProvider\getSrcPoolDefListRelatedQuestCombinationCollection(), getSrcPoolDefRelatedQuestCollection(), and performBuild().
|
private |
Definition at line 143 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by getSrcPoolDefRelatedQuestCollection().
|
abstract |
|
protected |
Definition at line 217 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\getRandomQuestionCollection().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
ilTestRandomQuestionSetBuilder::getCheckMessages | ( | ) |
Definition at line 267 of file class.ilTestRandomQuestionSetBuilder.php.
References $checkMessages.
|
staticfinal |
Definition at line 233 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetConfig\isQuestionAmountConfigurationModePerPool().
Referenced by ilTestOutputGUI\generateRandomTestPassForActiveUser(), and ilTestRandomQuestionSetConfig\isQuestionSetBuildable().
|
private |
Definition at line 113 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedTaxonomyFilter(), ilTestRandomQuestionSetSourcePoolDefinition\getPoolId(), ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilter(), hasTaxonomyFilter(), and hasTypeFilter().
Referenced by getSrcPoolDefRelatedQuestCollection().
ilTestRandomQuestionSetBuilder::getSrcPoolDefListRelatedQuestUniqueCollection | ( | ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList |
Implements ilTestRandomSourcePoolDefinitionQuestionCollectionProvider.
Definition at line 106 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerTest\checkBuildable(), ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
ilTestRandomQuestionSetBuilder::getSrcPoolDefRelatedQuestCollection | ( | ilTestRandomQuestionSetSourcePoolDefinition | $definition | ) |
ilTestRandomQuestionSetSourcePoolDefinition | $definition |
Implements ilTestRandomSourcePoolDefinitionQuestionCollectionProvider.
Definition at line 92 of file class.ilTestRandomQuestionSetBuilder.php.
References buildSetQuestionCollection(), and getQuestionIdsForSourcePoolDefinitionIds().
Referenced by __construct(), and ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable().
|
protected |
Definition at line 224 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\shuffleQuestions().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
private |
Definition at line 159 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedTaxonomyFilter().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
private |
Definition at line 179 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilter().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
abstract |
Referenced by __construct(), and ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable().
|
private |
Definition at line 202 of file class.ilTestRandomQuestionSetBuilder.php.
References array, ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestRandomQuestionSetQuestion\getQuestionId(), ilTestRandomQuestionSetQuestion\getSequencePosition(), ilTestRandomQuestionSetQuestion\getSourcePoolDefinitionId(), and time.
Referenced by storeQuestionSet().
|
protected |
Definition at line 189 of file class.ilTestRandomQuestionSetBuilder.php.
References storeQuestion().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
protected |
Definition at line 40 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by getCheckMessages().
|
protected |
Definition at line 17 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 22 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().