ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (ilDBInterface $ilDB, ilPluginAdmin $pluginAdmin, ilObjTest $testOBJ) | |
getTargetContainerRef () | |
setTargetContainerRef ($targetContainerRef) | |
getOwnerId () | |
setOwnerId ($ownerId) | |
getSourcePoolDefinitionList () | |
setSourcePoolDefinitionList ($sourcePoolDefinitionList) | |
derive (ilTestRandomQuestionSetNonAvailablePool $nonAvailablePool) | |
Protected Member Functions | |
getQuestionsForPool (ilTestRandomQuestionSetNonAvailablePool $nonAvailablePool) | |
createNewPool (ilTestRandomQuestionSetNonAvailablePool $nonAvailablePool) | |
copyQuestionsToPool (ilObjQuestionPool $pool, $questions) | |
updateTestQuestionStage ($poolQidByTestQidMap) | |
filterForQuestionRelatedTaxonomies ($taxonomyIds, $relatedQuestionIds) | |
duplicateTaxonomies ($poolQidByTestQidMap, ilObjQuestionPool $pool) | |
buildOriginalTaxonomyFilterForDerivedPool (ilQuestionPoolDuplicatedTaxonomiesKeysMap $taxKeysMap, $mappedTaxonomyFilter) | |
updateRelatedSourcePoolDefinitions (ilQuestionPoolDuplicatedTaxonomiesKeysMap $taxKeysMap, $derivedPoolId, $nonAvailablePoolId) | |
Protected Attributes | |
$db | |
$pluginAdmin | |
$testOBJ | |
$targetContainerRef | |
$ownerId | |
$poolFactory | |
$sourcePoolDefinitionList | |
Definition at line 14 of file class.ilTestRandomQuestionSetPoolDeriver.php.
ilTestRandomQuestionSetPoolDeriver::__construct | ( | ilDBInterface | $ilDB, |
ilPluginAdmin | $pluginAdmin, | ||
ilObjTest | $testOBJ | ||
) |
Definition at line 51 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $ilDB, $pluginAdmin, and $testOBJ.
|
protected |
Definition at line 210 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References array, ilQuestionPoolDuplicatedTaxonomiesKeysMap\getMappedTaxNodeId(), and ilQuestionPoolDuplicatedTaxonomiesKeysMap\getMappedTaxonomyId().
Referenced by updateRelatedSourcePoolDefinitions().
|
protected |
Definition at line 141 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References array, ilObject\getId(), and getOwnerId().
Referenced by derive().
|
protected |
Definition at line 129 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References getTargetContainerRef(), and ilTestRandomQuestionSetNonAvailablePool\getTitle().
Referenced by derive().
ilTestRandomQuestionSetPoolDeriver::derive | ( | ilTestRandomQuestionSetNonAvailablePool | $nonAvailablePool | ) |
ilTestRandomQuestionSetNonAvailablePool | $nonAvailablePool |
Definition at line 249 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References copyQuestionsToPool(), createNewPool(), duplicateTaxonomies(), ilTestRandomQuestionSetNonAvailablePool\getId(), getQuestionsForPool(), updateRelatedSourcePoolDefinitions(), and updateTestQuestionStage().
|
protected |
Definition at line 192 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References filterForQuestionRelatedTaxonomies(), ilObject\getId(), and ilObject\getType().
Referenced by derive().
|
protected |
Definition at line 165 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References array, and ilTaxNodeAssignment\getAssignmentsOfItem().
Referenced by duplicateTaxonomies().
ilTestRandomQuestionSetPoolDeriver::getOwnerId | ( | ) |
Definition at line 78 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $ownerId.
Referenced by copyQuestionsToPool().
|
protected |
Definition at line 107 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References assQuestion\_instantiateQuestion(), array, and ilTestRandomQuestionSetNonAvailablePool\getId().
Referenced by derive().
ilTestRandomQuestionSetPoolDeriver::getSourcePoolDefinitionList | ( | ) |
Definition at line 94 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $sourcePoolDefinitionList.
Referenced by updateRelatedSourcePoolDefinitions().
ilTestRandomQuestionSetPoolDeriver::getTargetContainerRef | ( | ) |
Definition at line 62 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $targetContainerRef.
Referenced by createNewPool().
ilTestRandomQuestionSetPoolDeriver::setOwnerId | ( | $ownerId | ) |
int | $ownerId |
Definition at line 86 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $ownerId.
ilTestRandomQuestionSetPoolDeriver::setSourcePoolDefinitionList | ( | $sourcePoolDefinitionList | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList |
Definition at line 102 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $sourcePoolDefinitionList.
ilTestRandomQuestionSetPoolDeriver::setTargetContainerRef | ( | $targetContainerRef | ) |
int | $targetContainerRef |
Definition at line 70 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References $targetContainerRef.
|
protected |
Definition at line 227 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References buildOriginalTaxonomyFilterForDerivedPool(), and getSourcePoolDefinitionList().
Referenced by derive().
|
protected |
Definition at line 157 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References assQuestion\resetOriginalId(), and assQuestion\saveOriginalId().
Referenced by derive().
|
protected |
Definition at line 19 of file class.ilTestRandomQuestionSetPoolDeriver.php.
|
protected |
Definition at line 39 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by getOwnerId(), and setOwnerId().
|
protected |
Definition at line 24 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilTestRandomQuestionSetPoolDeriver.php.
|
protected |
Definition at line 49 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by getSourcePoolDefinitionList(), and setSourcePoolDefinitionList().
|
protected |
Definition at line 34 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by getTargetContainerRef(), and setTargetContainerRef().
|
protected |
Definition at line 29 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by __construct().