ILIAS
release_8 Revision v8.19
|
Class ilLOEditorGUI. More...
Public Member Functions | |
__construct (ilObject $a_parent_obj) | |
executeCommand () | |
getParentObject () | |
getSettings () | |
setTestType (int $a_type) | |
getTestType () | |
Data Fields | |
const | TEST_TYPE_UNDEFINED = 0 |
const | TEST_TYPE_IT = 1 |
const | TEST_TYPE_QT = 2 |
const | TEST_NEW = 1 |
const | TEST_ASSIGN = 2 |
const | SETTINGS_TEMPLATE_IT = 'il_astpl_loc_initial' |
const | SETTINGS_TEMPLATE_QT = 'il_astpl_loc_qualified' |
Protected Attributes | |
ilGlobalTemplateInterface | $main_tpl |
ilToolbarGUI | $toolbar |
GlobalHttpState | $http |
Factory | $refinery |
Private Attributes | |
ilLogger | $logger |
ilObject | $parent_obj |
ilLOSettings | $settings |
ilLanguage | $lng |
ilCtrlInterface | $ctrl |
ilTabsGUI | $tabs |
ilGlobalTemplateInterface | $tpl |
ObjectFacade | $content_style_domain |
int | $test_type = self::TEST_TYPE_UNDEFINED |
Class ilLOEditorGUI.
Definition at line 32 of file class.ilLOEditorGUI.php.
ilLOEditorGUI::__construct | ( | ilObject | $a_parent_obj | ) |
Definition at line 60 of file class.ilLOEditorGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
|
protected |
Definition at line 1181 of file class.ilLOEditorGUI.php.
References ILIAS\LTI\ToolProvider\$enabled, $objectives, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), getParentObject(), initObjectiveIdsFromPost(), and ILIAS\Repository\lng().
|
protected |
Definition at line 872 of file class.ilLOEditorGUI.php.
References ilSettingsTemplate\getAllSettingsTemplates(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), getTestType(), and ilObjTest\setTemplate().
Referenced by saveMultiTestAssignment(), and saveTest().
|
protected |
Definition at line 1148 of file class.ilLOEditorGUI.php.
References $name, ILIAS\Repository\ctrl(), getParentObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilLOEditorStatus\SECTION_OBJECTIVES, showStatus(), and ILIAS\Repository\tabs().
|
protected |
Show delete confirmation screen.
Definition at line 672 of file class.ilLOEditorGUI.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ILIAS\FileDelivery\http(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ILIAS\Repository\tabs(), TEST_TYPE_IT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Show delete test confirmation.
Definition at line 619 of file class.ilLOEditorGUI.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ILIAS\FileDelivery\http(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Definition at line 1197 of file class.ilLOEditorGUI.php.
References $objectives, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), getParentObject(), initObjectiveIdsFromPost(), and ILIAS\Repository\lng().
|
protected |
Definition at line 255 of file class.ilLOEditorGUI.php.
References ILIAS\Survey\Mode\getId(), ilLOTestAssignments\getInstance(), and getParentObject().
Referenced by updateTestAssignments().
|
protected |
Definition at line 1213 of file class.ilLOEditorGUI.php.
References ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), getParentObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 765 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), ilCourseObjectiveQuestion\deleteTest(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ILIAS\FileDelivery\http(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilLOSettings\setInitialTest(), ilLOSettings\setQualifiedTest(), setTestType(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\update().
|
protected |
Definition at line 721 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), ilCourseObjectiveQuestion\deleteTest(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ILIAS\FileDelivery\http(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), setTestType(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilLOEditorGUI::executeCommand | ( | ) |
Definition at line 81 of file class.ilLOEditorGUI.php.
References ilPageObject\_exists(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilLOEditorStatus\getInstance(), getParentObject(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ilCourseObjective\lookupObjectiveTitle(), setTabs(), and ILIAS\Repository\tabs().
ilLOEditorGUI::getParentObject | ( | ) |
Definition at line 225 of file class.ilLOEditorGUI.php.
References $parent_obj.
Referenced by __construct(), activateObjectives(), askDeleteObjectives(), confirmDeleteTest(), confirmDeleteTests(), deactivateObjectives(), deleteAssignments(), deleteObjectives(), deleteTest(), deleteTests(), executeCommand(), listObjectives(), materials(), saveMultiTestAssignment(), saveObjectiveCreation(), saveSettings(), saveSorting(), saveTest(), setTabs(), showStatus(), testAssignment(), testOverview(), testSettings(), testsOverview(), updateMaterialAssignments(), and updateStartObjects().
ilLOEditorGUI::getSettings | ( | ) |
Definition at line 230 of file class.ilLOEditorGUI.php.
References $settings.
Referenced by initSettingsForm(), saveTest(), and updateStartObjects().
ilLOEditorGUI::getTestType | ( | ) |
Definition at line 240 of file class.ilLOEditorGUI.php.
References $test_type.
Referenced by applySettingsTemplate(), confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), saveMultiTestAssignment(), saveTest(), testAssignment(), testOverview(), testSettings(), and testsOverview().
|
protected |
Definition at line 184 of file class.ilLOEditorGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
|
protected |
Definition at line 195 of file class.ilLOEditorGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by activateObjectives(), and deactivateObjectives().
|
protected |
Init settings form.
Definition at line 364 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), getSettings(), ilLOSettings\HIDE_PASSED_OBJECTIVE_QST, ILIAS\Repository\lng(), ilLOSettings\MARK_PASSED_OBJECTIVE_QST, ilFormPropertyGUI\setRequired(), ilCheckboxInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilLOSettings\TYPE_INITIAL_NONE, ilLOSettings\TYPE_INITIAL_PLACEMENT_ALL, ilLOSettings\TYPE_INITIAL_PLACEMENT_SELECTED, ilLOSettings\TYPE_INITIAL_QUALIFYING_ALL, ilLOSettings\TYPE_INITIAL_QUALIFYING_SELECTED, ilLOSettings\TYPE_QUALIFYING_ALL, and ilLOSettings\TYPE_QUALIFYING_SELECTED.
Referenced by saveSettings(), and settings().
|
protected |
Definition at line 1095 of file class.ilLOEditorGUI.php.
References $txt, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by saveObjectiveCreation(), and showObjectiveCreation().
|
protected |
Definition at line 208 of file class.ilLOEditorGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), saveMultiTestAssignment(), saveTest(), testAssignment(), testOverview(), and testsOverview().
|
protected |
Definition at line 1057 of file class.ilLOEditorGUI.php.
References $objectives, ilCourseObjective\_getObjectiveIds(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), getParentObject(), ILIAS\Repository\lng(), ilCourseObjectivesGUI\MODE_UNDEFINED, ilLOEditorStatus\SECTION_OBJECTIVES, ilSession\set(), showObjectiveCreation(), showStatus(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Referenced by returnFromObjectives(), and saveSorting().
|
protected |
Definition at line 479 of file class.ilLOEditorGUI.php.
References getParentObject(), ILIAS\Repository\lng(), ilLOEditorStatus\SECTION_MATERIALS, showStatus(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 219 of file class.ilLOEditorGUI.php.
References listObjectives(), ilCourseObjectivesGUI\MODE_UNDEFINED, and ilSession\set().
|
protected |
Definition at line 913 of file class.ilLOEditorGUI.php.
References applySettingsTemplate(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), initTestTypeFromQuery(), ILIAS\Repository\lng(), setTestType(), testAssignment(), updateMaterialAssignments(), and updateStartObjects().
|
protected |
Definition at line 1110 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), getParentObject(), initSimpleObjectiveForm(), ILIAS\Repository\lng(), ilLOEditorStatus\SECTION_OBJECTIVES, showObjectiveCreation(), showStatus(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 295 of file class.ilLOEditorGUI.php.
References ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInitialTestType(), ilLOSettings\getInstanceByObjId(), getParentObject(), ilLOSettings\getQualifyingTestType(), initSettingsForm(), ilLOSettings\isQualifyingTestStart(), ILIAS\Repository\lng(), ilLOSettings\resetResults(), ilLOSettings\setInitialTestAsStart(), ilLOSettings\setInitialTestType(), ilLOSettings\setPassedObjectiveMode(), ilLOSettings\setQualifyingTestAsStart(), ilLOSettings\setQualifyingTestType(), settings(), ilLOSettings\TYPE_INITIAL_NONE, ilLOSettings\TYPE_INITIAL_PLACEMENT_ALL, ilLOSettings\TYPE_INITIAL_PLACEMENT_SELECTED, ilLOSettings\TYPE_INITIAL_QUALIFYING_ALL, ilLOSettings\TYPE_INITIAL_QUALIFYING_SELECTED, ilLOSettings\TYPE_QUALIFYING_ALL, ilLOSettings\TYPE_QUALIFYING_SELECTED, ilLOSettings\update(), updateStartObjects(), and updateTestAssignments().
|
protected |
Definition at line 1130 of file class.ilLOEditorGUI.php.
References getParentObject(), ILIAS\FileDelivery\http(), listObjectives(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 991 of file class.ilLOEditorGUI.php.
References applySettingsTemplate(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getSettings(), ilLOSettings\getTestByType(), getTestType(), initTestTypeFromQuery(), ILIAS\Repository\lng(), setTestType(), testSettings(), updateMaterialAssignments(), and updateStartObjects().
|
protected |
Definition at line 1241 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInitialTestType(), ilLOSettings\getInstanceByObjId(), getParentObject(), ilLOSettings\getQualifyingTestType(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_INITIAL_PLACEMENT_ALL, ilLOSettings\TYPE_INITIAL_QUALIFYING_ALL, ilLOSettings\TYPE_QUALIFYING_ALL, ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, ilLOSettings\worksWithInitialTest(), and ilLOSettings\worksWithStartObjects().
Referenced by executeCommand().
ilLOEditorGUI::setTestType | ( | int | $a_type | ) |
Definition at line 235 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), saveMultiTestAssignment(), saveTest(), testAssignment(), testOverview(), testOverviewInitial(), testOverviewQualified(), testsOverview(), testsOverviewInitial(), and testsOverviewQualified().
|
protected |
Definition at line 245 of file class.ilLOEditorGUI.php.
References initSettingsForm(), ilLOEditorStatus\SECTION_SETTINGS, showStatus(), and ILIAS\Repository\tabs().
Referenced by __construct(), and saveSettings().
|
protected |
Definition at line 1085 of file class.ilLOEditorGUI.php.
References initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES_NEW, showStatus(), and ILIAS\Repository\tabs().
Referenced by listObjectives(), and saveObjectiveCreation().
|
protected |
Definition at line 1233 of file class.ilLOEditorGUI.php.
References getParentObject().
Referenced by askDeleteObjectives(), confirmDeleteTest(), confirmDeleteTests(), listObjectives(), materials(), saveObjectiveCreation(), settings(), showObjectiveCreation(), testAssignment(), testOverview(), testSettings(), and testsOverview().
|
protected |
Definition at line 817 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), getParentObject(), getTestType(), initTestTypeFromQuery(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by saveMultiTestAssignment().
|
protected |
Show test overview.
Definition at line 558 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), ilLOSettings\getTestByType(), getTestType(), initTestTypeFromQuery(), ILIAS\Repository\logger(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ILIAS\Repository\tabs(), TEST_TYPE_IT, testSettings(), ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by testOverviewInitial(), and testOverviewQualified().
|
protected |
Definition at line 604 of file class.ilLOEditorGUI.php.
References setTestType(), testOverview(), and ilLOSettings\TYPE_TEST_INITIAL.
|
protected |
Definition at line 610 of file class.ilLOEditorGUI.php.
References setTestType(), testOverview(), and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Definition at line 846 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, showStatus(), ILIAS\Repository\tabs(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveTest(), testOverview(), and testsOverview().
|
protected |
Definition at line 496 of file class.ilLOEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ILIAS\Repository\tabs(), TEST_TYPE_IT, testSettings(), ILIAS\Repository\toolbar(), ilLOTestAssignmentTableGUI\TYPE_MULTIPLE_ASSIGNMENTS, ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by testsOverviewInitial(), and testsOverviewQualified().
|
protected |
Definition at line 543 of file class.ilLOEditorGUI.php.
References setTestType(), testsOverview(), and ilLOSettings\TYPE_TEST_INITIAL.
|
protected |
Definition at line 549 of file class.ilLOEditorGUI.php.
References setTestType(), testsOverview(), and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Definition at line 979 of file class.ilLOEditorGUI.php.
References ilCourseObjective\_getObjectiveIds(), ILIAS\Survey\Mode\getId(), getParentObject(), and ilObject\getRefId().
Referenced by saveMultiTestAssignment(), and saveTest().
|
protected |
Definition at line 907 of file class.ilLOEditorGUI.php.
References ILIAS\Survey\Mode\getId(), getParentObject(), and getSettings().
Referenced by saveMultiTestAssignment(), saveSettings(), and saveTest().
|
protected |
Definition at line 263 of file class.ilLOEditorGUI.php.
References deleteAssignments(), ilLOSettings\getInitialTestType(), ilLOSettings\getQualifyingTestType(), ilLOSettings\setInitialTest(), ilLOSettings\setQualifiedTest(), ilLOSettings\TYPE_INITIAL_NONE, ilLOSettings\TYPE_INITIAL_PLACEMENT_ALL, ilLOSettings\TYPE_INITIAL_PLACEMENT_SELECTED, ilLOSettings\TYPE_INITIAL_QUALIFYING_ALL, ilLOSettings\TYPE_INITIAL_QUALIFYING_SELECTED, ilLOSettings\TYPE_QUALIFYING_ALL, ilLOSettings\TYPE_QUALIFYING_SELECTED, ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\update().
Referenced by saveSettings().
|
private |
Definition at line 54 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 49 of file class.ilLOEditorGUI.php.
|
protected |
Definition at line 55 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 48 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 44 of file class.ilLOEditorGUI.php.
|
protected |
Definition at line 51 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 46 of file class.ilLOEditorGUI.php.
Referenced by getParentObject().
|
protected |
Definition at line 56 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 47 of file class.ilLOEditorGUI.php.
Referenced by getSettings().
|
private |
Definition at line 50 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 58 of file class.ilLOEditorGUI.php.
Referenced by getTestType().
|
protected |
Definition at line 52 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 53 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::SETTINGS_TEMPLATE_IT = 'il_astpl_loc_initial' |
Definition at line 41 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::SETTINGS_TEMPLATE_QT = 'il_astpl_loc_qualified' |
Definition at line 42 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_ASSIGN = 2 |
Definition at line 39 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_NEW = 1 |
Definition at line 38 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_TYPE_IT = 1 |
Definition at line 35 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), testOverview(), and testsOverview().
const ilLOEditorGUI::TEST_TYPE_QT = 2 |
Definition at line 36 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_TYPE_UNDEFINED = 0 |
Definition at line 34 of file class.ilLOEditorGUI.php.