ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
checkBuildable () | |
performBuild (ilTestSession $testSession) |
Static Public Member Functions | |
static | getInstance (ilDB $db, ilObjTest $testOBJ, ilTestRandomQuestionSetConfig $questionSetConfig, ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList, ilTestRandomQuestionSetStagingPoolQuestionList $stagingPoolQuestionList) |
Protected Member Functions | |
__construct (ilDB $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 |
ilDB | $db | |
ilObjTest | $testOBJ | |
ilTestRandomQuestionSetConfig | $questionSetConfig | |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | |
ilTestRandomQuestionSetStagingPoolQuestionList | $stagingPoolQuestionList |
Definition at line 46 of file class.ilTestRandomQuestionSetBuilder.php.
References $db, $questionSetConfig, $sourcePoolDefinitionList, $stagingPoolQuestionList, and $testOBJ.
|
private |
Definition at line 109 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by getQuestionStageForSourcePoolDefinition().
|
abstract |
Reimplemented in ilTestRandomQuestionSetBuilderWithAmountPerPool, and ilTestRandomQuestionSetBuilderWithAmountPerTest.
|
protected |
Definition at line 170 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\getRandomQuestionCollection().
Referenced by 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 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().
|
protected |
Definition at line 177 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetQuestionCollection\shuffleQuestions().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
private |
Definition at line 126 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxId(), and ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxNodeId().
Referenced by getQuestionIdsForSourcePoolDefinitionIds().
|
abstract |
Reimplemented in ilTestRandomQuestionSetBuilderWithAmountPerTest.
|
private |
Definition at line 155 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestRandomQuestionSetQuestion\getQuestionId(), ilTestRandomQuestionSetQuestion\getSequencePosition(), and ilTestRandomQuestionSetQuestion\getSourcePoolDefinitionId().
Referenced by storeQuestionSet().
|
protected |
Definition at line 141 of file class.ilTestRandomQuestionSetBuilder.php.
References storeQuestion().
Referenced by 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().