ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
checkBuildable () | |
performBuild (ilTestSession $testSession) | |
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) | |
getQuestionStageForSourcePoolDefinition (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
storeQuestionSet (ilTestSession $testSession, $questionSet) | |
fetchQuestionsFromStageRandomly (ilTestRandomQuestionSetQuestionCollection $questionStage, $requiredQuestionAmount) | |
handleQuestionOrdering (ilTestRandomQuestionSetQuestionCollection $questionSet) | |
Protected Attributes | |
$db = null | |
$testOBJ = null | |
$questionSetConfig = null | |
$sourcePoolDefinitionList = null | |
$stagingPoolQuestionList = null | |
Private Member Functions | |
getQuestionIdsForSourcePoolDefinitionIds (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
buildSetQuestionCollection (ilTestRandomQuestionSetSourcePoolDefinition $definition, $questionIds) | |
hasTaxonomyFilter (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 46 of file class.ilTestRandomQuestionSetBuilder.php.
References $db, $questionSetConfig, $sourcePoolDefinitionList, $stagingPoolQuestionList, $testOBJ, checkBuildable(), getQuestionStageForSourcePoolDefinition(), and performBuild().
|
private |
Definition at line 109 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by getQuestionStageForSourcePoolDefinition().
|
abstract |
|
protected |
Definition at line 170 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\getRandomQuestionCollection().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
staticfinal |
Definition at line 187 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetConfig\isQuestionAmountConfigurationModePerPool().
Referenced by ilTestOutputGUI\generateRandomTestPassForActiveUser(), and ilTestRandomQuestionSetConfig\isQuestionSetBuildable().
|
private |
Definition at line 89 of file class.ilTestRandomQuestionSetBuilder.php.
References array, ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxId(), ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxNodeId(), ilTestRandomQuestionSetSourcePoolDefinition\getPoolId(), and hasTaxonomyFilter().
Referenced by getQuestionStageForSourcePoolDefinition().
|
protected |
Definition at line 81 of file class.ilTestRandomQuestionSetBuilder.php.
References buildSetQuestionCollection(), and getQuestionIdsForSourcePoolDefinitionIds().
Referenced by __construct(), and ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable().
|
protected |
Definition at line 177 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\shuffleQuestions().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
private |
Definition at line 126 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxId(), and ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxNodeId().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
abstract |
Referenced by __construct(), and ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable().
|
private |
Definition at line 155 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 141 of file class.ilTestRandomQuestionSetBuilder.php.
References storeQuestion().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), and ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
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().