|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilObjTestDynamicQuestionSetConfig:
Collaboration diagram for ilObjTestDynamicQuestionSetConfig: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 () | |
| 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... | |
| 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, ilComponentRepository $component_repository, 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 () | |
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 | |
| ilTree | $tree |
| ilDBInterface | $db |
| ilComponentRepository | $component_repository |
| ilObjTest | $testOBJ |
Definition at line 27 of file class.ilObjTestDynamicQuestionSetConfig.php.
| ilObjTestDynamicQuestionSetConfig::areDepenciesBroken | ( | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 424 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolId(), and getSourceQuestionPoolRefIds().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::areDepenciesInVulnerableState | ( | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 397 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $refId, getSourceQuestionPoolId(), and getSourceQuestionPoolRefIds().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::cloneQuestionSetRelatedData | ( | ilObjTest | $cloneTestOBJ | ) |
removes all question set config related data for cloned/copied test
| ilObjTest | $cloneTestOBJ |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 330 of file class.ilObjTestDynamicQuestionSetConfig.php.
References cloneToDbForTestId(), ilObjTest\getTestId(), and loadFromDb().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::cloneToDbForTestId | ( | $testId | ) |
saves the question set config for test with given id to the database
| $testId |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 210 of file class.ilObjTestDynamicQuestionSetConfig.php.
References insertDbRecord().
Referenced by cloneQuestionSetRelatedData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
checks wether a question set config for current test exists in the database
| $testId |
Definition at line 237 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $res.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::deleteFromDb | ( | ) |
deletes the question set config for current test from the database
Reimplemented from ilTestQuestionSetConfig.
Definition at line 220 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by removeQuestionSetRelatedData().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::doesQuestionSetRelatedDataExist | ( | ) |
returns the fact wether a useable question set config exists or not
Reimplemented from ilTestQuestionSetConfig.
Definition at line 306 of file class.ilObjTestDynamicQuestionSetConfig.php.
References isQuestionSetConfigured().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::getDepenciesBrokenMessage | ( | ilLanguage | $lng | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 439 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $lng.
| ilObjTestDynamicQuestionSetConfig::getDepenciesInVulnerableStateMessage | ( | ilLanguage | $lng | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 414 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $lng.
| ilObjTestDynamicQuestionSetConfig::getHiddenTabsOnBrokenDepencies | ( | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 484 of file class.ilObjTestDynamicQuestionSetConfig.php.
| ilObjTestDynamicQuestionSetConfig::getOrderingTaxonomyId | ( | ) |
setter for ordering taxonomy id
Definition at line 137 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $orderingTaxonomyId.
Referenced by ilTestDynamicQuestionSet\initActualQuestionSequence(), ilTestDynamicQuestionSet\initFilteredQuestionList(), insertDbRecord(), and updateDbRecord().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolId | ( | ) |
getter for source question pool id
Definition at line 61 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolId.
Referenced by areDepenciesBroken(), areDepenciesInVulnerableState(), getSourceQuestionPoolLink(), getSourceQuestionPoolNumQuestions(), getSourceQuestionPoolRefIds(), ilTestDynamicQuestionSet\initCompleteQuestionList(), ilTestDynamicQuestionSet\initFilteredQuestionList(), ilTestDynamicQuestionSet\initSelectionQuestionList(), insertDbRecord(), isQuestionSetConfigured(), and updateDbRecord().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolLink | ( | ) |
Definition at line 520 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $refId, ilObject\_getAllReferences(), ilLink\_getLink(), getSourceQuestionPoolId(), and getSourceQuestionPoolTitle().
Here is the call graph for this function:
|
private |
Definition at line 379 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $query, $res, and getSourceQuestionPoolId().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolRefIds | ( | ) |
Definition at line 493 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolRefIds, ilObject\_getAllReferences(), and getSourceQuestionPoolId().
Referenced by areDepenciesBroken(), areDepenciesInVulnerableState(), and getSourceQuestionPoolSummaryString().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolSummaryString | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng | |
| ilTree | $tree |
Definition at line 341 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $lng, $refId, and getSourceQuestionPoolRefIds().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::getSourceQuestionPoolTitle | ( | ) |
getter for source question pool title
Definition at line 81 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getSourceQuestionPoolLink(), insertDbRecord(), and updateDbRecord().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::initFromArray | ( | $dataArray | ) |
initialises the current object instance with values from matching properties within the passed array
| array | $dataArray |
Definition at line 158 of file class.ilObjTestDynamicQuestionSetConfig.php.
References setAnswerStatusFilterEnabled(), setOrderingTaxonomyId(), setSourceQuestionPoolId(), setSourceQuestionPoolTitle(), and setTaxonomyFilterEnabled().
Referenced by loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
inserts a new record for the question set config for the current test into the database
| $testId |
Definition at line 279 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getOrderingTaxonomyId(), getSourceQuestionPoolId(), getSourceQuestionPoolTitle(), isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
Referenced by cloneToDbForTestId(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::isAnswerStatusFilterEnabled | ( | ) |
Definition at line 99 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $answerStatusFilterEnabled.
Referenced by ilTestDynamicQuestionSet\initFilteredQuestionList(), insertDbRecord(), isAnyQuestionFilterEnabled(), and updateDbRecord().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::isAnyQuestionFilterEnabled | ( | ) |
Definition at line 507 of file class.ilObjTestDynamicQuestionSetConfig.php.
References isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::isQuestionSetConfigured | ( | ) |
returns the fact wether a useable question set config exists or not
Reimplemented from ilTestQuestionSetConfig.
Definition at line 296 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getSourceQuestionPoolId().
Referenced by doesQuestionSetRelatedDataExist().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::isResultTaxonomyFilterSupported | ( | ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 502 of file class.ilObjTestDynamicQuestionSetConfig.php.
| ilObjTestDynamicQuestionSetConfig::isTaxonomyFilterEnabled | ( | ) |
isser for taxonomie filter enabled
Definition at line 117 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $taxonomyFilterEnabled.
Referenced by ilTestDynamicQuestionSet\initFilteredQuestionList(), ilTestDynamicQuestionSet\initSelectionQuestionList(), insertDbRecord(), isAnyQuestionFilterEnabled(), and updateDbRecord().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::isValidRequestOnBrokenQuestionSetDepencies | ( | $nextClass, | |
| $cmd | |||
| ) |
Reimplemented from ilTestQuestionSetConfig.
Definition at line 449 of file class.ilObjTestDynamicQuestionSetConfig.php.
| ilObjTestDynamicQuestionSetConfig::loadFromDb | ( | ) |
loads the question set config for current test from the database
Reimplemented from ilTestQuestionSetConfig.
Definition at line 176 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $res, and initFromArray().
Referenced by cloneQuestionSetRelatedData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::removeQuestionSetRelatedData | ( | ) |
removes all question set config related data (in this case it's only the config itself)
Reimplemented from ilTestQuestionSetConfig.
Definition at line 315 of file class.ilObjTestDynamicQuestionSetConfig.php.
References deleteFromDb().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::resetQuestionSetRelatedTestSettings | ( | ) |
resets all test settings that depends on a non changed question set config
Reimplemented from ilTestQuestionSetConfig.
Definition at line 320 of file class.ilObjTestDynamicQuestionSetConfig.php.
| ilObjTestDynamicQuestionSetConfig::saveToDb | ( | ) |
saves the question set config for current test to the database
Reimplemented from ilTestQuestionSetConfig.
Definition at line 196 of file class.ilObjTestDynamicQuestionSetConfig.php.
References dbRecordExists(), insertDbRecord(), and updateDbRecord().
Here is the call graph for this function:| ilObjTestDynamicQuestionSetConfig::setAnswerStatusFilterEnabled | ( | $answerStatusFilterEnabled | ) |
| boolean | $answerStatusFilterEnabled |
Definition at line 107 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $answerStatusFilterEnabled.
Referenced by initFromArray().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::setOrderingTaxonomyId | ( | $orderingTaxonomyId | ) |
getter for ordering taxonomy id
| integer | $orderingTaxonomyId |
Definition at line 147 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $orderingTaxonomyId.
Referenced by initFromArray().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::setSourceQuestionPoolId | ( | $sourceQuestionPoolId | ) |
getter for source question pool id
| integer | $sourceQuestionPoolId |
Definition at line 71 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $sourceQuestionPoolId, and ILIAS\Repository\int().
Referenced by initFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::setSourceQuestionPoolTitle | ( | $sourceQuestionPoolTitle | ) |
getter for source question pool title
| string | $sourceQuestionPoolTitle |
Definition at line 91 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by initFromArray().
Here is the caller graph for this function:| ilObjTestDynamicQuestionSetConfig::setTaxonomyFilterEnabled | ( | $taxonomyFilterEnabled | ) |
setter for taxonomie filter enabled
| boolean | $taxonomyFilterEnabled |
Definition at line 127 of file class.ilObjTestDynamicQuestionSetConfig.php.
References $taxonomyFilterEnabled.
Referenced by initFromArray().
Here is the caller graph for this function:
|
private |
updates the record in the database that corresponds to the question set config for the current test
| $testId |
Definition at line 256 of file class.ilObjTestDynamicQuestionSetConfig.php.
References getOrderingTaxonomyId(), getSourceQuestionPoolId(), getSourceQuestionPoolTitle(), isAnswerStatusFilterEnabled(), and isTaxonomyFilterEnabled().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 39 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by isAnswerStatusFilterEnabled(), and setAnswerStatusFilterEnabled().
|
private |
Definition at line 54 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getOrderingTaxonomyId(), and setOrderingTaxonomyId().
|
private |
Definition at line 34 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getSourceQuestionPoolId(), and setSourceQuestionPoolId().
|
private |
Definition at line 491 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by getSourceQuestionPoolRefIds().
|
private |
Definition at line 47 of file class.ilObjTestDynamicQuestionSetConfig.php.
Referenced by isTaxonomyFilterEnabled(), and setTaxonomyFilterEnabled().