ILIAS
trunk Revision v11.0_alpha-1871-gde1fee8db3d
|
Settings for LO courses. More...
Static Public Member Functions | |
static | getInstanceByObjId (int $a_obj_id) |
static | isObjectiveTest (int $a_trst_ref_id) |
Check if test ref_id is used in an objective course. More... | |
static | cloneSettings (int $a_copy_id, int $a_container_id, int $a_new_container_id) |
Data Fields | |
const | QST_PASSED_FLAG = 1 |
const | QST_PASSED_HIDE = 2 |
const | TYPE_INITIAL_PLACEMENT_ALL = 1 |
const | TYPE_INITIAL_PLACEMENT_SELECTED = 2 |
const | TYPE_INITIAL_QUALIFYING_ALL = 3 |
const | TYPE_INITIAL_QUALIFYING_SELECTED = 4 |
const | TYPE_INITIAL_NONE = 5 |
const | TYPE_QUALIFYING_ALL = 1 |
const | TYPE_QUALIFYING_SELECTED = 2 |
const | TYPE_TEST_UNDEFINED = 0 |
const | TYPE_TEST_INITIAL = 1 |
const | TYPE_TEST_QUALIFIED = 2 |
const | QT_VISIBLE_ALL = 0 |
const | QT_VISIBLE_OBJECTIVE = 1 |
const | LOC_INITIAL_ALL = 1 |
const | LOC_INITIAL_SEL = 2 |
const | LOC_QUALIFIED = 3 |
const | LOC_PRACTISE = 4 |
const | HIDE_PASSED_OBJECTIVE_QST = 1 |
const | MARK_PASSED_OBJECTIVE_QST = 2 |
Protected Member Functions | |
__construct (int $a_cont_id) | |
read () | |
Read. More... | |
purgeReferences () | |
Protected Attributes | |
ilDBInterface | $db |
ilTree | $tree |
Private Attributes | |
int | $it_type = self::TYPE_INITIAL_PLACEMENT_ALL |
int | $qt_type = self::TYPE_QUALIFYING_ALL |
bool | $it_start = false |
bool | $qt_start = false |
int | $container_id = 0 |
int | $type = 0 |
int | $initial_test = 0 |
int | $qualified_test = 0 |
bool | $reset_results = true |
int | $passed_objective_mode = self::HIDE_PASSED_OBJECTIVE_QST |
bool | $entry_exists = false |
ilLogger | $logger |
Static Private Attributes | |
static array | $instances = [] |
|
protected |
Definition at line 77 of file class.ilLOSettings.php.
References $DIC, ILIAS\Repository\logger(), and read().
|
static |
Definition at line 179 of file class.ilLOSettings.php.
References ilCopyWizardOptions\_getInstance().
Referenced by ilObjCourse\cloneDependencies().
ilLOSettings::create | ( | ) |
Definition at line 325 of file class.ilLOSettings.php.
References getInitialTest(), getInitialTestType(), getObjId(), getPassedObjectiveMode(), getQualifiedTest(), getQualifyingTestType(), isInitialTestStart(), isQualifyingTestStart(), and isResetResultsEnabled().
Referenced by update().
ilLOSettings::getInitialTest | ( | ) |
Definition at line 300 of file class.ilLOSettings.php.
References $initial_test.
Referenced by create(), getTestByType(), getTests(), purgeReferences(), toXml(), update(), and updateStartObjects().
ilLOSettings::getInitialTestType | ( | ) |
Definition at line 101 of file class.ilLOSettings.php.
References $it_type.
Referenced by create(), hasSeparateInitialTests(), isGeneralInitialTestVisible(), isInitialTestQualifying(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\setTabs(), toXml(), update(), updateStartObjects(), ilLOEditorGUI\updateTestAssignments(), and worksWithInitialTest().
|
static |
Definition at line 88 of file class.ilLOSettings.php.
Referenced by ilLOMemberTestResultTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilLOTestAssignmentTableGUI\__construct(), ilLOTestAssignments\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilLOTestQuestionAdapter\__construct(), ilLOTestAssignmentForm\__construct(), ilLOEditorGUI\__construct(), ilLOEditorStatus\__construct(), ilCourseObjectivesGUI\__construct(), ILIAS\Containter\Content\ObjectiveRenderer\buildObjectiveProgressBar(), ilTestLearningObjectivesStatusGUI\buildStatusItems(), ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilLOEditorGUI\deleteTest(), ilLOEditorGUI\deleteTests(), ilLOEditorStatus\determineActiveSection(), ilLOUserResults\getCompletedObjectiveIds(), ilLOUserResults\getCourseResultsForUserPresentation(), ilLOEditorStatus\getHTML(), ILIAS\Containter\Content\ObjectiveRenderer\getObjectiveResultSummary(), ilLOUserResults\getObjectiveStatusForLP(), ilLOUserResults\getSummarizedObjectiveStatusForLP(), ilTrQuery\getUserObjectiveMatrix(), ILIAS\Test\Results\Presentation\TitlesBuilder\initTestType(), ilLOUtils\isCompleted(), ilLOUtils\lookupObjectiveRequiredPercentage(), ilLOXmlParser\parseSettings(), ilPortfolioPageGUI\renderMyCourses(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives(), ilCourseObjectiveResult\reset(), ilLOEditorGUI\saveMultiTestAssignment(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\saveTest(), ilLOEditorGUI\setTabs(), ILIAS\Containter\Content\ObjectiveRenderer\showObjectives(), ilLOEditorGUI\testOverview(), ilLOEditorGUI\testsOverview(), and ilLOXmlWriter\write().
ilLOSettings::getObjId | ( | ) |
Definition at line 250 of file class.ilLOSettings.php.
References $container_id.
Referenced by create(), read(), and update().
ilLOSettings::getPassedObjectiveMode | ( | ) |
Definition at line 228 of file class.ilLOSettings.php.
References $passed_objective_mode.
Referenced by create(), toXml(), and update().
ilLOSettings::getQualifiedTest | ( | ) |
Definition at line 310 of file class.ilLOSettings.php.
References $qualified_test.
Referenced by create(), getTestByType(), getTests(), purgeReferences(), toXml(), update(), and updateStartObjects().
ilLOSettings::getQualifyingTestType | ( | ) |
Definition at line 106 of file class.ilLOSettings.php.
References $qt_type.
Referenced by create(), hasSeparateQualifiedTests(), isGeneralQualifiedTestVisible(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\setTabs(), toXml(), update(), updateStartObjects(), and ilLOEditorGUI\updateTestAssignments().
ilLOSettings::getTestByType | ( | int | $a_type | ) |
Definition at line 265 of file class.ilLOSettings.php.
References getInitialTest(), and getQualifiedTest().
Referenced by isRandomTestType(), ilLOEditorGUI\saveTest(), and ilLOEditorGUI\testOverview().
ilLOSettings::getTests | ( | ) |
Definition at line 277 of file class.ilLOSettings.php.
References getInitialTest(), and getQualifiedTest().
ilLOSettings::getType | ( | ) |
ilLOSettings::hasSeparateInitialTests | ( | ) |
Check if separate initial test are configured.
Definition at line 139 of file class.ilLOSettings.php.
References getInitialTestType().
ilLOSettings::hasSeparateQualifiedTests | ( | ) |
Check if separate qualified tests are configured.
Definition at line 147 of file class.ilLOSettings.php.
References getQualifyingTestType().
ilLOSettings::isGeneralInitialTestVisible | ( | ) |
Definition at line 238 of file class.ilLOSettings.php.
References getInitialTestType().
ilLOSettings::isGeneralQualifiedTestVisible | ( | ) |
Definition at line 223 of file class.ilLOSettings.php.
References getQualifyingTestType().
ilLOSettings::isInitialTestQualifying | ( | ) |
Check if initial test is qualifying*.
Definition at line 155 of file class.ilLOSettings.php.
References getInitialTestType().
ilLOSettings::isInitialTestStart | ( | ) |
Definition at line 121 of file class.ilLOSettings.php.
References $it_start.
Referenced by create(), toXml(), update(), updateStartObjects(), and worksWithStartObjects().
|
static |
Check if test ref_id is used in an objective course.
Definition at line 163 of file class.ilLOSettings.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ilLOTestAssignments\lookupContainerForTest().
Referenced by ilObjTestGUI\determineObjectiveOrientedContainer(), and ilObjTestListGUI\modifyTitleLink().
ilLOSettings::isQualifyingTestStart | ( | ) |
Definition at line 131 of file class.ilLOSettings.php.
References $qt_start.
Referenced by create(), ilLOEditorGUI\saveSettings(), toXml(), update(), updateStartObjects(), and worksWithStartObjects().
ilLOSettings::isRandomTestType | ( | int | $a_type | ) |
Definition at line 289 of file class.ilLOSettings.php.
References ilObject\_lookupObjId(), ilObjTest\_lookupRandomTest(), and getTestByType().
ilLOSettings::isResetResultsEnabled | ( | ) |
Definition at line 320 of file class.ilLOSettings.php.
References $reset_results.
Referenced by create(), toXml(), and update().
|
protected |
Definition at line 457 of file class.ilLOSettings.php.
References getInitialTest(), ilObjectFactory\getInstanceByRefId(), getQualifiedTest(), setInitialTest(), setQualifiedTest(), and update().
Referenced by read().
|
protected |
Read.
Definition at line 430 of file class.ilLOSettings.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getObjId(), purgeReferences(), resetResults(), setInitialTest(), setInitialTestAsStart(), setInitialTestType(), setPassedObjectiveMode(), setQualifiedTest(), setQualifyingTestAsStart(), and setQualifyingTestType().
Referenced by __construct().
ilLOSettings::resetResults | ( | bool | $a_status | ) |
Definition at line 315 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::setInitialTest | ( | int | $a_id | ) |
Definition at line 295 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\deleteTest(), purgeReferences(), read(), and ilLOEditorGUI\updateTestAssignments().
ilLOSettings::setInitialTestAsStart | ( | bool | $a_type | ) |
Definition at line 116 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::setInitialTestType | ( | int | $a_type | ) |
Definition at line 96 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::setPassedObjectiveMode | ( | int | $a_mode | ) |
Definition at line 233 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::setQualifiedTest | ( | int | $a_id | ) |
Definition at line 305 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\deleteTest(), purgeReferences(), read(), and ilLOEditorGUI\updateTestAssignments().
ilLOSettings::setQualifyingTestAsStart | ( | bool | $a_type | ) |
Definition at line 126 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::setQualifyingTestType | ( | int | $a_type | ) |
Definition at line 111 of file class.ilLOSettings.php.
Referenced by read(), and ilLOEditorGUI\saveSettings().
ilLOSettings::settingsExist | ( | ) |
ilLOSettings::setType | ( | int | $a_type | ) |
Definition at line 255 of file class.ilLOSettings.php.
ilLOSettings::toXml | ( | ilXmlWriter | $writer | ) |
Definition at line 476 of file class.ilLOSettings.php.
References getInitialTest(), getInitialTestType(), getPassedObjectiveMode(), getQualifiedTest(), getQualifyingTestType(), isInitialTestStart(), isQualifyingTestStart(), isResetResultsEnabled(), and ilXmlWriter\xmlElement().
ilLOSettings::update | ( | ) |
Definition at line 343 of file class.ilLOSettings.php.
References create(), getInitialTest(), getInitialTestType(), getObjId(), getPassedObjectiveMode(), getQualifiedTest(), getQualifyingTestType(), isInitialTestStart(), isQualifyingTestStart(), and isResetResultsEnabled().
Referenced by ilLOEditorGUI\deleteTest(), purgeReferences(), ilLOEditorGUI\saveSettings(), and ilLOEditorGUI\updateTestAssignments().
ilLOSettings::updateStartObjects | ( | ilContainerStartObjects | $start | ) |
Update start objects Depends on course objective settings.
ilContainerStartObjects |
Definition at line 369 of file class.ilLOSettings.php.
References ilContainerStartObjects\add(), ilContainerStartObjects\deleteItem(), ilContainerStartObjects\exists(), getInitialTest(), getInitialTestType(), getQualifiedTest(), getQualifyingTestType(), isInitialTestStart(), isQualifyingTestStart(), and ILIAS\Repository\logger().
ilLOSettings::worksWithInitialTest | ( | ) |
Check if the loc is configured for initial tests.
Definition at line 218 of file class.ilLOSettings.php.
References getInitialTestType().
Referenced by ilLOEditorGUI\setTabs().
ilLOSettings::worksWithStartObjects | ( | ) |
Check if start objects are enabled.
Definition at line 210 of file class.ilLOSettings.php.
References isInitialTestStart(), and isQualifyingTestStart().
Referenced by ilLOEditorGUI\setTabs().
|
private |
Definition at line 64 of file class.ilLOSettings.php.
Referenced by getObjId().
|
protected |
Definition at line 74 of file class.ilLOSettings.php.
|
private |
Definition at line 71 of file class.ilLOSettings.php.
Referenced by settingsExist().
|
private |
Definition at line 66 of file class.ilLOSettings.php.
Referenced by getInitialTest().
|
staticprivate |
Definition at line 57 of file class.ilLOSettings.php.
|
private |
Definition at line 62 of file class.ilLOSettings.php.
Referenced by isInitialTestStart().
|
private |
Definition at line 59 of file class.ilLOSettings.php.
Referenced by getInitialTestType().
|
private |
Definition at line 73 of file class.ilLOSettings.php.
|
private |
Definition at line 69 of file class.ilLOSettings.php.
Referenced by getPassedObjectiveMode().
|
private |
Definition at line 63 of file class.ilLOSettings.php.
Referenced by isQualifyingTestStart().
|
private |
Definition at line 60 of file class.ilLOSettings.php.
Referenced by getQualifyingTestType().
|
private |
Definition at line 67 of file class.ilLOSettings.php.
Referenced by getQualifiedTest().
|
private |
Definition at line 68 of file class.ilLOSettings.php.
Referenced by isResetResultsEnabled().
|
protected |
Definition at line 75 of file class.ilLOSettings.php.
|
private |
Definition at line 65 of file class.ilLOSettings.php.
Referenced by getType().
const ilLOSettings::HIDE_PASSED_OBJECTIVE_QST = 1 |
Definition at line 54 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), and ilLOTestQuestionAdapter\prepareTestPass().
const ilLOSettings::LOC_INITIAL_ALL = 1 |
Definition at line 49 of file class.ilLOSettings.php.
const ilLOSettings::LOC_INITIAL_SEL = 2 |
Definition at line 50 of file class.ilLOSettings.php.
const ilLOSettings::LOC_PRACTISE = 4 |
Definition at line 52 of file class.ilLOSettings.php.
const ilLOSettings::LOC_QUALIFIED = 3 |
Definition at line 51 of file class.ilLOSettings.php.
const ilLOSettings::MARK_PASSED_OBJECTIVE_QST = 2 |
Definition at line 55 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), and ilLOTestQuestionAdapter\prepareTestPass().
const ilLOSettings::QST_PASSED_FLAG = 1 |
Definition at line 28 of file class.ilLOSettings.php.
const ilLOSettings::QST_PASSED_HIDE = 2 |
Definition at line 29 of file class.ilLOSettings.php.
const ilLOSettings::QT_VISIBLE_ALL = 0 |
Definition at line 46 of file class.ilLOSettings.php.
const ilLOSettings::QT_VISIBLE_OBJECTIVE = 1 |
Definition at line 47 of file class.ilLOSettings.php.
const ilLOSettings::TYPE_INITIAL_NONE = 5 |
Definition at line 35 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_INITIAL_PLACEMENT_ALL = 1 |
Definition at line 31 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\setTabs(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_INITIAL_PLACEMENT_SELECTED = 2 |
Definition at line 32 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_INITIAL_QUALIFYING_ALL = 3 |
Definition at line 33 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\setTabs(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_INITIAL_QUALIFYING_SELECTED = 4 |
Definition at line 34 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_QUALIFYING_ALL = 1 |
Definition at line 37 of file class.ilLOSettings.php.
Referenced by ilLOEditorGUI\initSettingsForm(), ilLOEditorGUI\saveSettings(), ilLOEditorGUI\setTabs(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_QUALIFYING_SELECTED = 2 |
Definition at line 38 of file class.ilLOSettings.php.
Referenced by ilCourseObjectivesTableGUI\__construct(), ilCourseObjectivesTableGUI\fillRow(), ilLOEditorGUI\initSettingsForm(), ilCourseObjectivesTableGUI\parse(), ilLOEditorGUI\saveSettings(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_TEST_INITIAL = 1 |
Definition at line 43 of file class.ilLOSettings.php.
Referenced by ilLOTestQuestionAdapter\buildQuestionRelatedObjectiveList(), ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilLOEditorGUI\deleteTest(), ilLOEditorGUI\deleteTests(), ilPortfolioPageGUI\getCoursesOfUser(), ilLOEditorStatus\getFirstFailedStep(), ilLOEditorStatus\getHTML(), ilLOEditorStatus\getInitialTestStatus(), ilLOTestAssignments\getTestByObjective(), ilLOTestAssignments\getTypeByTest(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilCourseObjective\ilClone(), ilLOTestAssignmentForm\initForm(), ilCourseObjectivesGUI\initFormRandom(), ilLOTestAssignmentTableGUI\initTitle(), ilCourseObjectivesGUI\initWizard(), ilLOTestQuestionAdapter\isQualifiedStartRun(), ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest(), ilLOMemberTestResultTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), ilCourseObjectiveResult\reset(), ilTestLP\resetCustomLPDataForUserIds(), ilCourseObjectivesGUI\saveRandom(), ilCourseObjectivesGUI\selfAssessmentAssignment(), ilLOEditorGUI\setTabs(), ILIAS\Containter\Content\ObjectiveRenderer\showObjectives(), ilCourseObjectivesGUI\showRandomTestAssignment(), ilLOEditorGUI\testAssignment(), ilLOEditorGUI\testOverview(), ilLOEditorGUI\testOverviewInitial(), ilLOEditorGUI\testSettings(), ilLOEditorGUI\testsOverview(), ilLOEditorGUI\testsOverviewInitial(), ilLOTestQuestionAdapter\updateRandomQuestions(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_TEST_QUALIFIED = 2 |
Definition at line 44 of file class.ilLOSettings.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\buildObjectiveProgressBar(), ilLOTestQuestionAdapter\buildQuestionRelatedObjectiveList(), ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilLOEditorGUI\deleteTest(), ilLOEditorGUI\deleteTests(), ilCourseObjectivesGUI\finalTestAssignment(), ilPortfolioPageGUI\getCoursesOfUser(), ilLOEditorStatus\getFirstFailedStep(), ilLOEditorStatus\getHTML(), ilLOEditorStatus\getQualifiedTestStatus(), ilLOTestAssignments\getTestByObjective(), ilLOTestAssignments\getTypeByTest(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilCourseObjective\ilClone(), ilLOTestAssignmentForm\initForm(), ilLOTestAssignmentTableGUI\initTitle(), ilCourseObjectivesGUI\initWizard(), ilObjCourseAccess\isObjectiveResultRangeAchieved(), ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest(), ilLOMemberTestResultTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), ilCourseObjectiveResult\reset(), ilTestLP\resetCustomLPDataForUserIds(), ilCourseObjectivesGUI\saveRandom(), ilLOEditorGUI\setTabs(), ilLOEditorGUI\testAssignment(), ilLOEditorGUI\testOverview(), ilLOEditorGUI\testOverviewQualified(), ilLOEditorGUI\testSettings(), ilLOEditorGUI\testsOverview(), ilLOEditorGUI\testsOverviewQualified(), ilLOTestQuestionAdapter\updateRandomQuestions(), and ilLOEditorGUI\updateTestAssignments().
const ilLOSettings::TYPE_TEST_UNDEFINED = 0 |
Definition at line 42 of file class.ilLOSettings.php.
Referenced by ilCourseObjectiveMaterials\_getAssignableMaterials(), ilLOTestAssignments\getTypeByTest(), ilCourseObjectivesGUI\showRandomTestAssignment(), ilLOEditorGUI\testAssignment(), ilLOEditorGUI\testOverview(), and ilLOEditorGUI\testsOverview().