ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getSourceQuestionPoolId () | |
getter for source question pool id More... | |
setSourceQuestionPoolId ($sourceQuestionPoolId) | |
getter for source question pool id More... | |
getSourceQuestionPoolTitle () | |
getter for source question pool title More... | |
setSourceQuestionPoolTitle ($sourceQuestionPoolTitle) | |
getter for source question pool title More... | |
isAnswerStatusFilterEnabled () | |
setAnswerStatusFilterEnabled ($answerStatusFilterEnabled) | |
isTaxonomyFilterEnabled () | |
isser for taxonomie filter enabled More... | |
setTaxonomyFilterEnabled ($taxonomyFilterEnabled) | |
setter for taxonomie filter enabled More... | |
getOrderingTaxonomyId () | |
setter for ordering taxonomy id More... | |
setOrderingTaxonomyId ($orderingTaxonomyId) | |
getter for ordering taxonomy id More... | |
initFromArray ($dataArray) | |
initialises the current object instance with values from matching properties within the passed array More... | |
loadFromDb () | |
loads the question set config for current test from the database More... | |
saveToDb () | |
saves the question set config for current test to the database More... | |
cloneToDbForTestId ($testId) | |
saves the question set config for test with given id to the database More... | |
deleteFromDb () | |
deletes the question set config for current test from the database More... | |
isQuestionSetConfigured () | |
returns the fact wether a useable question set config exists or not More... | |
doesQuestionSetRelatedDataExist () | |
returns the fact wether a useable question set config exists or not More... | |
removeQuestionSetRelatedData () | |
removes all question set config related data (in this case it's only the config itself) More... | |
resetQuestionSetRelatedTestSettings () | |
cloneQuestionSetRelatedData (ilObjTest $cloneTestOBJ) | |
removes all question set config related data for cloned/copied test More... | |
getSourceQuestionPoolSummaryString (ilLanguage $lng) | |
areDepenciesInVulnerableState () | |
getDepenciesInVulnerableStateMessage (ilLanguage $lng) | |
areDepenciesBroken () | |
getDepenciesBrokenMessage (ilLanguage $lng) | |
isValidRequestOnBrokenQuestionSetDepencies ($nextClass, $cmd) | |
getHiddenTabsOnBrokenDepencies () | |
getSourceQuestionPoolRefIds () | |
isResultTaxonomyFilterSupported () | |
isAnyQuestionFilterEnabled () | |
getSourceQuestionPoolLink () | |
Public Member Functions inherited from ilTestQuestionSetConfig | |
__construct (ilTree $tree, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjTest $testOBJ) | |
loadFromDb () | |
loads the question set config for current test from the database More... | |
saveToDb () | |
saves the question set config for current test to the database More... | |
cloneToDbForTestId ($testId) | |
saves the question set config for test with given id to the database More... | |
deleteFromDb () | |
deletes the question set config for current test from the database More... | |
areDepenciesInVulnerableState () | |
getDepenciesInVulnerableStateMessage (ilLanguage $lng) | |
areDepenciesBroken () | |
getDepenciesBrokenMessage (ilLanguage $lng) | |
isValidRequestOnBrokenQuestionSetDepencies ($nextClass, $cmd) | |
getHiddenTabsOnBrokenDepencies () | |
isQuestionSetConfigured () | |
doesQuestionSetRelatedDataExist () | |
checks wether question set config related data exists or not More... | |
removeQuestionSetRelatedData () | |
removes all question set config related data More... | |
resetQuestionSetRelatedTestSettings () | |
resets all test settings that depends on a non changed question set config More... | |
cloneQuestionSetRelatedData (ilObjTest $cloneTestOBJ) | |
removes all question set config related data for cloned/copied test More... | |
getQuestionPoolPathString ($poolId) | |
getFirstQuestionPoolRefIdByObjId (int $pool_obj_id) | |
isResultTaxonomyFilterSupported () | |
Static Public Member Functions | |
static | getPoolQuestionChangeListener (ilDBInterface $db, $poolObjId) |
Private Member Functions | |
dbRecordExists ($testId) | |
checks wether a question set config for current test exists in the database More... | |
updateDbRecord ($testId) | |
updates the record in the database that corresponds to the question set config for the current test More... | |
insertDbRecord ($testId) | |
inserts a new record for the question set config for the current test into the database More... | |
getSourceQuestionPoolNumQuestions () | |
Private Attributes | |
$sourceQuestionPoolId = null | |
$answerStatusFilterEnabled = null | |
$taxonomyFilterEnabled = null | |
$orderingTaxonomyId = null | |
$sourceQuestionPoolRefIds = null | |
Additional Inherited Members | |
Protected Attributes inherited from ilTestQuestionSetConfig | |
$tree = null | |
$db = null | |
$pluginAdmin = null | |
$testOBJ = null | |
Definition at line 14 of file class.ilObjTestDynamicQuestionSetConfig.php.
ilObjTestDynamicQuestionSetConfig::areDepenciesBroken | ( | ) |
Definition at line 411 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolId(), and getSourceQuestionPoolRefIds().
ilObjTestDynamicQuestionSetConfig::areDepenciesInVulnerableState | ( | ) |
Definition at line 384 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolId(), and getSourceQuestionPoolRefIds().
ilObjTestDynamicQuestionSetConfig::cloneQuestionSetRelatedData | ( | ilObjTest | $cloneTestOBJ | ) |
removes all question set config related data for cloned/copied test
ilObjTest | $cloneTestOBJ |
Definition at line 317 of file class.ilObjTestDynamicQuestionSetConfig.php.
References cloneToDbForTestId(), ilObjTest\getTestId(), and loadFromDb().
ilObjTestDynamicQuestionSetConfig::cloneToDbForTestId | ( | $testId | ) |
saves the question set config for test with given id to the database
$testId |
Definition at line 197 of file class.ilObjTestDynamicQuestionSetConfig.php.
References insertDbRecord().
Referenced by cloneQuestionSetRelatedData().
|
private |
checks wether a question set config for current test exists in the database
$testId |
Definition at line 224 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by saveToDb().
ilObjTestDynamicQuestionSetConfig::deleteFromDb | ( | ) |
deletes the question set config for current test from the database
Definition at line 207 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by removeQuestionSetRelatedData().
ilObjTestDynamicQuestionSetConfig::doesQuestionSetRelatedDataExist | ( | ) |
returns the fact wether a useable question set config exists or not
Definition at line 293 of file class.ilObjTestDynamicQuestionSetConfig.php.
References isQuestionSetConfigured().
ilObjTestDynamicQuestionSetConfig::getDepenciesBrokenMessage | ( | ilLanguage | $lng | ) |
Definition at line 426 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolTitle(), and ilLanguage\txt().
ilObjTestDynamicQuestionSetConfig::getDepenciesInVulnerableStateMessage | ( | ilLanguage | $lng | ) |
Definition at line 401 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolTitle(), and ilLanguage\txt().
ilObjTestDynamicQuestionSetConfig::getHiddenTabsOnBrokenDepencies | ( | ) |
Definition at line 471 of file class.ilObjTestDynamicQuestionSetConfig.php.
ilObjTestDynamicQuestionSetConfig::getOrderingTaxonomyId | ( | ) |
setter for ordering taxonomy id
Definition at line 124 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $orderingTaxonomyId.
Referenced by ilTestDynamicQuestionSet\initActualQuestionSequence(), ilTestDynamicQuestionSet\initFilteredQuestionList(), insertDbRecord(), and updateDbRecord().
|
static |
integer | $poolObjId |
Definition at line 493 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $query, $res, $row, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilObjTest\getPoolQuestionChangeListeners().
ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolId | ( | ) |
getter for source question pool id
Definition at line 48 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolId.
Referenced by areDepenciesBroken(), areDepenciesInVulnerableState(), getSourceQuestionPoolLink(), getSourceQuestionPoolNumQuestions(), getSourceQuestionPoolRefIds(), getSourceQuestionPoolSummaryString(), ilTestDynamicQuestionSet\initCompleteQuestionList(), ilTestDynamicQuestionSet\initFilteredQuestionList(), ilTestDynamicQuestionSet\initSelectionQuestionList(), insertDbRecord(), isQuestionSetConfigured(), and updateDbRecord().
ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolLink | ( | ) |
Definition at line 533 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $title, ilObject\_getAllReferences(), ilLink\_getLink(), getSourceQuestionPoolId(), and getSourceQuestionPoolTitle().
|
private |
Definition at line 366 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $query, $res, $row, and getSourceQuestionPoolId().
Referenced by getSourceQuestionPoolSummaryString().
ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolRefIds | ( | ) |
Definition at line 480 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolRefIds, ilObject\_getAllReferences(), and getSourceQuestionPoolId().
Referenced by areDepenciesBroken(), areDepenciesInVulnerableState(), and getSourceQuestionPoolSummaryString().
ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolSummaryString | ( | ilLanguage | $lng | ) |
ilLanguage | $lng | |
ilTree | $tree |
Definition at line 328 of file class.ilObjTestDynamicQuestionSetConfig.php.
References ilTestQuestionSetConfig\getQuestionPoolPathString(), getSourceQuestionPoolId(), getSourceQuestionPoolNumQuestions(), getSourceQuestionPoolRefIds(), getSourceQuestionPoolTitle(), and ilLanguage\txt().
ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolTitle | ( | ) |
getter for source question pool title
Definition at line 68 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getDepenciesBrokenMessage(), getDepenciesInVulnerableStateMessage(), getSourceQuestionPoolLink(), getSourceQuestionPoolSummaryString(), insertDbRecord(), and updateDbRecord().
ilObjTestDynamicQuestionSetConfig::initFromArray | ( | $dataArray | ) |
initialises the current object instance with values from matching properties within the passed array
array | $dataArray |
Definition at line 145 of file class.ilObjTestDynamicQuestionSetConfig.php.
References setAnswerStatusFilterEnabled(), setOrderingTaxonomyId(), setSourceQuestionPoolId(), setSourceQuestionPoolTitle(), and setTaxonomyFilterEnabled().
Referenced by loadFromDb().
|
private |
inserts a new record for the question set config for the current test into the database
$testId |
Definition at line 266 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getOrderingTaxonomyId(), getSourceQuestionPoolId(), getSourceQuestionPoolTitle(), isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
Referenced by cloneToDbForTestId(), and saveToDb().
ilObjTestDynamicQuestionSetConfig::isAnswerStatusFilterEnabled | ( | ) |
Definition at line 86 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $answerStatusFilterEnabled.
Referenced by ilTestDynamicQuestionSet\initFilteredQuestionList(), insertDbRecord(), isAnyQuestionFilterEnabled(), and updateDbRecord().
ilObjTestDynamicQuestionSetConfig::isAnyQuestionFilterEnabled | ( | ) |
Definition at line 520 of file class.ilObjTestDynamicQuestionSetConfig.php.
References isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
ilObjTestDynamicQuestionSetConfig::isQuestionSetConfigured | ( | ) |
returns the fact wether a useable question set config exists or not
Definition at line 283 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolId().
Referenced by doesQuestionSetRelatedDataExist().
ilObjTestDynamicQuestionSetConfig::isResultTaxonomyFilterSupported | ( | ) |
Definition at line 515 of file class.ilObjTestDynamicQuestionSetConfig.php.
ilObjTestDynamicQuestionSetConfig::isTaxonomyFilterEnabled | ( | ) |
isser for taxonomie filter enabled
Definition at line 104 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $taxonomyFilterEnabled.
Referenced by ilTestDynamicQuestionSet\initFilteredQuestionList(), ilTestDynamicQuestionSet\initSelectionQuestionList(), insertDbRecord(), isAnyQuestionFilterEnabled(), and updateDbRecord().
ilObjTestDynamicQuestionSetConfig::isValidRequestOnBrokenQuestionSetDepencies | ( | $nextClass, | |
$cmd | |||
) |
Definition at line 436 of file class.ilObjTestDynamicQuestionSetConfig.php.
ilObjTestDynamicQuestionSetConfig::loadFromDb | ( | ) |
loads the question set config for current test from the database
Definition at line 163 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $res, $row, and initFromArray().
Referenced by ilObjTest\buildStatisticsAccessFilteredParticipantList(), cloneQuestionSetRelatedData(), and ilTestResultsGUI\executeCommand().
ilObjTestDynamicQuestionSetConfig::removeQuestionSetRelatedData | ( | ) |
removes all question set config related data (in this case it's only the config itself)
Definition at line 302 of file class.ilObjTestDynamicQuestionSetConfig.php.
References deleteFromDb().
ilObjTestDynamicQuestionSetConfig::resetQuestionSetRelatedTestSettings | ( | ) |
Definition at line 307 of file class.ilObjTestDynamicQuestionSetConfig.php.
ilObjTestDynamicQuestionSetConfig::saveToDb | ( | ) |
saves the question set config for current test to the database
Definition at line 183 of file class.ilObjTestDynamicQuestionSetConfig.php.
References dbRecordExists(), insertDbRecord(), and updateDbRecord().
ilObjTestDynamicQuestionSetConfig::setAnswerStatusFilterEnabled | ( | $answerStatusFilterEnabled | ) |
boolean | $answerStatusFilterEnabled |
Definition at line 94 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $answerStatusFilterEnabled.
Referenced by initFromArray().
ilObjTestDynamicQuestionSetConfig::setOrderingTaxonomyId | ( | $orderingTaxonomyId | ) |
getter for ordering taxonomy id
integer | $orderingTaxonomyId |
Definition at line 134 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $orderingTaxonomyId.
Referenced by initFromArray().
ilObjTestDynamicQuestionSetConfig::setSourceQuestionPoolId | ( | $sourceQuestionPoolId | ) |
getter for source question pool id
integer | $sourceQuestionPoolId |
Definition at line 58 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolId.
Referenced by initFromArray().
ilObjTestDynamicQuestionSetConfig::setSourceQuestionPoolTitle | ( | $sourceQuestionPoolTitle | ) |
getter for source question pool title
string | $sourceQuestionPoolTitle |
Definition at line 78 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by initFromArray().
ilObjTestDynamicQuestionSetConfig::setTaxonomyFilterEnabled | ( | $taxonomyFilterEnabled | ) |
setter for taxonomie filter enabled
boolean | $taxonomyFilterEnabled |
Definition at line 114 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $taxonomyFilterEnabled.
Referenced by initFromArray().
|
private |
updates the record in the database that corresponds to the question set config for the current test
$testId |
Definition at line 243 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getOrderingTaxonomyId(), getSourceQuestionPoolId(), getSourceQuestionPoolTitle(), isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
Referenced by saveToDb().
|
private |
Definition at line 26 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by isAnswerStatusFilterEnabled(), and setAnswerStatusFilterEnabled().
|
private |
Definition at line 41 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getOrderingTaxonomyId(), and setOrderingTaxonomyId().
|
private |
Definition at line 21 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getSourceQuestionPoolId(), and setSourceQuestionPoolId().
|
private |
Definition at line 478 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getSourceQuestionPoolRefIds().
|
private |
Definition at line 34 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by isTaxonomyFilterEnabled(), and setTaxonomyFilterEnabled().