ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilDB $db, ilObjTest $testOBJ) | |
setId ($id) | |
getId () | |
setPoolId ($poolId) | |
getPoolId () | |
setPoolTitle ($poolTitle) | |
getPoolTitle () | |
setPoolPath ($poolPath) | |
getPoolPath () | |
setPoolQuestionCount ($poolQuestionCount) | |
getPoolQuestionCount () | |
setOriginalFilterTaxId ($originalFilterTaxId) | |
getOriginalFilterTaxId () | |
setOriginalFilterTaxNodeId ($originalFilterNodeId) | |
getOriginalFilterTaxNodeId () | |
setMappedFilterTaxId ($mappedFilterTaxId) | |
getMappedFilterTaxId () | |
setMappedFilterTaxNodeId ($mappedFilterTaxNodeId) | |
getMappedFilterTaxNodeId () | |
setQuestionAmount ($questionAmount) | |
getQuestionAmount () | |
setSequencePosition ($sequencePosition) | |
getSequencePosition () | |
initFromArray ($dataArray) | |
loadFromDb ($id) | |
saveToDb () | |
cloneToDbForTestId ($testId) | |
deleteFromDb () | |
getPoolInfoLabel (ilLanguage $lng) |
Protected Attributes | |
$db = null | |
$testOBJ = null |
Private Member Functions | |
updateDbRecord ($testId) | |
insertDbRecord ($testId) |
Private Attributes | |
$id = null | |
$poolId = null | |
$poolTitle = null | |
$poolPath = null | |
$poolQuestionCount = null | |
$originalFilterTaxId = null | |
$originalFilterTaxNodeId = null | |
$mappedFilterTaxId = null | |
$mappedFilterTaxNodeId = null | |
$questionAmount = null | |
$sequencePosition = null |
Definition at line 10 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
ilTestRandomQuestionSetSourcePoolDefinition::cloneToDbForTestId | ( | $testId | ) |
Definition at line 222 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References insertDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::deleteFromDb | ( | ) |
Definition at line 227 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References getId().
ilTestRandomQuestionSetSourcePoolDefinition::getId | ( | ) |
Definition at line 59 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $id.
Referenced by ilTestRandomQuestionSetSourcePoolDefinitionList\addDefinition(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilTestRandomQuestionSetBuilder\buildSetQuestionCollection(), deleteFromDb(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\fetchOrderNumberParameter(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\fetchQuestionAmountParameter(), saveToDb(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getMappedFilterTaxId | ( | ) |
Definition at line 129 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $mappedFilterTaxId.
Referenced by ilLOUtils\buildQplTitleByDefinition(), ilTestRandomQuestionSetBuilder\getQuestionIdsForSourcePoolDefinitionIds(), ilTestRandomQuestionSetBuilder\hasTaxonomyFilter(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getMappedFilterTaxNodeId | ( | ) |
Definition at line 139 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $mappedFilterTaxNodeId.
Referenced by ilLOUtils\buildQplTitleByDefinition(), ilTestRandomQuestionSetBuilder\getQuestionIdsForSourcePoolDefinitionIds(), ilTestRandomQuestionSetBuilder\hasTaxonomyFilter(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getOriginalFilterTaxId | ( | ) |
Definition at line 109 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $originalFilterTaxId.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getOriginalFilterTaxNodeId | ( | ) |
Definition at line 119 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $originalFilterTaxNodeId.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getPoolId | ( | ) |
Definition at line 69 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolId.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilTestRandomQuestionSetBuilder\getQuestionIdsForSourcePoolDefinitionIds(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getPoolInfoLabel | ( | ilLanguage | $lng | ) |
Definition at line 286 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References getPoolPath(), getPoolQuestionCount(), getPoolTitle(), and ilLanguage\txt().
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build().
ilTestRandomQuestionSetSourcePoolDefinition::getPoolPath | ( | ) |
Definition at line 89 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolPath.
Referenced by getPoolInfoLabel(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getPoolQuestionCount | ( | ) |
Definition at line 99 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolQuestionCount.
Referenced by getPoolInfoLabel(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getPoolTitle | ( | ) |
Definition at line 79 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolTitle.
Referenced by ilLOUtils\buildQplTitleByDefinition(), getPoolInfoLabel(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getQuestionAmount | ( | ) |
Definition at line 149 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $questionAmount.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::getSequencePosition | ( | ) |
Definition at line 159 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $sequencePosition.
Referenced by insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::initFromArray | ( | $dataArray | ) |
array | $dataArray |
Definition at line 169 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References setId(), setMappedFilterTaxId(), setMappedFilterTaxNodeId(), setOriginalFilterTaxId(), setOriginalFilterTaxNodeId(), setPoolId(), setPoolPath(), setPoolQuestionCount(), setPoolTitle(), setQuestionAmount(), and setSequencePosition().
Referenced by loadFromDb().
|
private |
$testId |
Definition at line 262 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References getMappedFilterTaxId(), getMappedFilterTaxNodeId(), getOriginalFilterTaxId(), getOriginalFilterTaxNodeId(), getPoolId(), getPoolPath(), getPoolQuestionCount(), getPoolTitle(), getQuestionAmount(), getSequencePosition(), and setId().
Referenced by cloneToDbForTestId(), and saveToDb().
ilTestRandomQuestionSetSourcePoolDefinition::loadFromDb | ( | $id | ) |
integer | $poolId |
Definition at line 194 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $id, $res, $row, and initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::saveToDb | ( | ) |
Definition at line 210 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References getId(), insertDbRecord(), and updateDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::setId | ( | $id | ) |
Definition at line 54 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $id.
Referenced by initFromArray(), and insertDbRecord().
ilTestRandomQuestionSetSourcePoolDefinition::setMappedFilterTaxId | ( | $mappedFilterTaxId | ) |
Definition at line 124 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $mappedFilterTaxId.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setMappedFilterTaxNodeId | ( | $mappedFilterTaxNodeId | ) |
Definition at line 134 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $mappedFilterTaxNodeId.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setOriginalFilterTaxId | ( | $originalFilterTaxId | ) |
Definition at line 104 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $originalFilterTaxId.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\applySubmit(), and initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setOriginalFilterTaxNodeId | ( | $originalFilterNodeId | ) |
Definition at line 114 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\applySubmit(), and initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setPoolId | ( | $poolId | ) |
Definition at line 64 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolId.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setPoolPath | ( | $poolPath | ) |
Definition at line 84 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolPath.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setPoolQuestionCount | ( | $poolQuestionCount | ) |
Definition at line 94 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolQuestionCount.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setPoolTitle | ( | $poolTitle | ) |
Definition at line 74 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $poolTitle.
Referenced by initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setQuestionAmount | ( | $questionAmount | ) |
Definition at line 144 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $questionAmount.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\applySubmit(), and initFromArray().
ilTestRandomQuestionSetSourcePoolDefinition::setSequencePosition | ( | $sequencePosition | ) |
Definition at line 154 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References $sequencePosition.
Referenced by initFromArray().
|
private |
$testId |
Definition at line 237 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
References getId(), getMappedFilterTaxId(), getMappedFilterTaxNodeId(), getOriginalFilterTaxId(), getOriginalFilterTaxNodeId(), getPoolId(), getPoolPath(), getPoolQuestionCount(), getPoolTitle(), getQuestionAmount(), and getSequencePosition().
Referenced by saveToDb().
|
protected |
Definition at line 17 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by __construct().
|
private |
Definition at line 26 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getId(), loadFromDb(), and setId().
|
private |
Definition at line 40 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getMappedFilterTaxId(), and setMappedFilterTaxId().
|
private |
Definition at line 42 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getMappedFilterTaxNodeId(), and setMappedFilterTaxNodeId().
|
private |
Definition at line 36 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getOriginalFilterTaxId(), and setOriginalFilterTaxId().
|
private |
Definition at line 38 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getOriginalFilterTaxNodeId().
|
private |
Definition at line 28 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getPoolId(), and setPoolId().
|
private |
Definition at line 32 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getPoolPath(), and setPoolPath().
|
private |
Definition at line 34 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getPoolQuestionCount(), and setPoolQuestionCount().
|
private |
Definition at line 30 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getPoolTitle(), and setPoolTitle().
|
private |
Definition at line 44 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getQuestionAmount(), and setQuestionAmount().
|
private |
Definition at line 46 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by getSequencePosition(), and setSequencePosition().
|
protected |
Definition at line 24 of file class.ilTestRandomQuestionSetSourcePoolDefinition.php.
Referenced by __construct().