ILIAS
Release_4_4_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 ($questionStage, $requiredQuestionAmount) | |
handleQuestionOrdering ($questionSet) |
Protected Attributes | |
$db = null | |
$testOBJ = null | |
$questionSetConfig = null | |
$sourcePoolDefinitionList = null | |
$stagingPoolQuestionList = null |
Private Member Functions | |
hasTaxonomyFilter (ilTestRandomQuestionSetSourcePoolDefinition $definition) | |
storeQuestion (ilTestSession $testSession, $questionId, $sequencePosition) | |
getRandomArrayKeys ($array, $numKeys) |
Definition at line 10 of file class.ilTestRandomQuestionSetBuilder.php.
|
protected |
ilDB | $db | |
ilObjTest | $testOBJ | |
ilTestRandomQuestionSetConfig | $questionSetConfig | |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | |
ilTestRandomQuestionSetStagingPoolQuestionList | $stagingPoolQuestionList |
Definition at line 44 of file class.ilTestRandomQuestionSetBuilder.php.
References $db, $questionSetConfig, $sourcePoolDefinitionList, $stagingPoolQuestionList, and $testOBJ.
|
abstract |
Reimplemented in ilTestRandomQuestionSetBuilderWithAmountPerPool, and ilTestRandomQuestionSetBuilderWithAmountPerTest.
|
protected |
Definition at line 136 of file class.ilTestRandomQuestionSetBuilder.php.
References getRandomArrayKeys().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
staticfinal |
Definition at line 177 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetConfig\isQuestionAmountConfigurationModePerPool().
Referenced by ilTestOutputGUI\generateRandomTestPassForActiveUser(), and ilTestRandomQuestionSetConfig\isQuestionSetBuildable().
|
protected |
Definition at line 79 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxId(), ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxNodeId(), ilTestRandomQuestionSetSourcePoolDefinition\getPoolId(), and hasTaxonomyFilter().
|
private |
Definition at line 150 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by fetchQuestionsFromStageRandomly().
|
protected |
Definition at line 165 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
private |
Definition at line 99 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxId(), and ilTestRandomQuestionSetSourcePoolDefinition\getMappedFilterTaxNodeId().
Referenced by getQuestionStageForSourcePoolDefinition().
|
abstract |
Reimplemented in ilTestRandomQuestionSetBuilderWithAmountPerTest.
|
private |
Definition at line 122 of file class.ilTestRandomQuestionSetBuilder.php.
References ilTestSession\getActiveId(), and ilTestSession\getPass().
Referenced by storeQuestionSet().
|
protected |
Definition at line 114 of file class.ilTestRandomQuestionSetBuilder.php.
References storeQuestion().
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerTest\performBuild().
|
protected |
Definition at line 15 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().
|
protected |
Definition at line 20 of file class.ilTestRandomQuestionSetBuilder.php.
Referenced by __construct().