ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilLOEditorGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
getParentObject () | |
getSettings () | |
Settings. More... | |
setTestType ($a_type) | |
getTestType () | |
Data Fields | |
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 Member Functions | |
returnFromObjectives () | |
Return from objectives. More... | |
settings (ilPropertyFormGUI $form=null) | |
Objective Settings. More... | |
deleteAssignments ($a_type) | |
Delete assignments. More... | |
updateTestAssignments (ilLOSettings $settings) | |
Update Test assignments. More... | |
saveSettings () | |
initSettingsForm () | |
Init settings form. More... | |
materials () | |
testsOverview () | |
View test assignments () More... | |
testOverview () | |
Show test overview. More... | |
confirmDeleteTests () | |
Show delete test confirmation. More... | |
confirmDeleteTest () | |
Show delete confirmation screen. More... | |
deleteTests () | |
Delete test assignments. More... | |
deleteTest () | |
Delete test assignment. More... | |
testAssignment (ilPropertyFormGUI $form=null) | |
new test assignment More... | |
testSettings (ilPropertyFormGUI $form=null) | |
Show test settings. More... | |
applySettingsTemplate (ilObjTest $tst) | |
Apply auto generated setttings template. More... | |
updateStartObjects () | |
Add Test as start object. More... | |
saveMultiTestAssignment () | |
updateMaterialAssignments (ilObjTest $test) | |
saveTest () | |
Save Test. More... | |
listObjectives () | |
List all abvailable objectives. More... | |
showObjectiveCreation (ilPropertyFormGUI $form=null) | |
Show objective creation form. More... | |
initSimpleObjectiveForm () | |
Show objective creation form. More... | |
saveObjectiveCreation () | |
saveSorting () | |
save position More... | |
askDeleteObjectives () | |
Confirm delete objectives. More... | |
activateObjectives () | |
activate chosen objectives More... | |
deactivateObjectives () | |
activate chosen objectives More... | |
deleteObjectives () | |
Delete objectives type $rbacsystem. More... | |
showStatus ($a_section) | |
Show status panel. More... | |
setTabs ($a_section='') | |
Set tabs. More... | |
Private Attributes | |
$logger = null | |
$parent_obj | |
$settings = null | |
$lng = null | |
$ctrl = null | |
$test_type = 0 | |
Class ilLOEditorGUI.
ilLOEditorGUI: ilObjCourseGUI ilLOEditorGUI: ilCourseObjectivesGUI, ilContainerStartObjectsGUI, ilConditionHandlerGUI ilLOEditorGUI: ilLOPageGUI
Definition at line 19 of file class.ilLOEditorGUI.php.
ilLOEditorGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
type | $a_parent_obj |
Definition at line 49 of file class.ilLOEditorGUI.php.
References $GLOBALS, ilLOSettings\getInstanceByObjId(), getParentObject(), and settings().
|
protected |
activate chosen objectives
Definition at line 1197 of file class.ilLOEditorGUI.php.
References ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), and getParentObject().
|
protected |
Apply auto generated setttings template.
ilObjTest | $tst |
Definition at line 836 of file class.ilLOEditorGUI.php.
References $template, ilSettingsTemplate\getAllSettingsTemplates(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), getTestType(), and ilObjTest\setTemplate().
Referenced by saveMultiTestAssignment(), and saveTest().
|
protected |
Confirm delete objectives.
Definition at line 1168 of file class.ilLOEditorGUI.php.
References $_POST, $GLOBALS, $name, getParentObject(), ilLOEditorStatus\SECTION_OBJECTIVES, and showStatus().
|
protected |
Show delete confirmation screen.
Definition at line 637 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, ilUtil\sendFailure(), setTestType(), showStatus(), TEST_TYPE_IT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Show delete test confirmation.
Definition at line 588 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, ilUtil\sendFailure(), setTestType(), showStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
activate chosen objectives
Definition at line 1221 of file class.ilLOEditorGUI.php.
References ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), and getParentObject().
|
protected |
Delete assignments.
type | $a_type |
Definition at line 246 of file class.ilLOEditorGUI.php.
References $a_type, ilLOTestAssignments\getInstance(), and getParentObject().
Referenced by updateTestAssignments().
|
protected |
Delete objectives type $rbacsystem.
Definition at line 1247 of file class.ilLOEditorGUI.php.
References $_POST, $DIC, ilLPStatusWrapper\_refreshStatus(), and getParentObject().
|
protected |
Delete test assignment.
Definition at line 724 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, $start, ilCourseObjectiveQuestion\deleteTest(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), setTestType(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Delete test assignments.
Definition at line 682 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, $start, ilCourseObjectiveQuestion\deleteTest(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), setTestType(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilLOEditorGUI::executeCommand | ( | ) |
Execute command.
Definition at line 63 of file class.ilLOEditorGUI.php.
References $DIC, $GLOBALS, $ilCtrl, $ret, ilPageObject\_exists(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), ilLOEditorStatus\getInstance(), getParentObject(), ilCourseObjective\lookupObjectiveTitle(), and setTabs().
ilLOEditorGUI::getParentObject | ( | ) |
Definition at line 202 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 | ( | ) |
Settings.
Definition at line 211 of file class.ilLOEditorGUI.php.
References $settings.
Referenced by initSettingsForm(), saveTest(), and updateStartObjects().
ilLOEditorGUI::getTestType | ( | ) |
Definition at line 221 of file class.ilLOEditorGUI.php.
References $test_type.
Referenced by applySettingsTemplate(), confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), saveMultiTestAssignment(), saveTest(), testAssignment(), testOverview(), testSettings(), and testsOverview().
|
protected |
Init settings form.
Definition at line 367 of file class.ilLOEditorGUI.php.
References $form, getSettings(), ilLOSettings\HIDE_PASSED_OBJECTIVE_QST, ilLOSettings\MARK_PASSED_OBJECTIVE_QST, ilRadioOption\setInfo(), 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 |
Show objective creation form.
Definition at line 1101 of file class.ilLOEditorGUI.php.
Referenced by saveObjectiveCreation(), and showObjectiveCreation().
|
protected |
List all abvailable objectives.
Definition at line 1046 of file class.ilLOEditorGUI.php.
References $_SESSION, $DIC, $GLOBALS, $table, ilCourseObjective\_getObjectiveIds(), getParentObject(), ilCourseObjectivesGUI\MODE_UNDEFINED, ilLOEditorStatus\SECTION_OBJECTIVES, showObjectiveCreation(), and showStatus().
Referenced by returnFromObjectives(), and saveSorting().
|
protected |
Definition at line 462 of file class.ilLOEditorGUI.php.
References $GLOBALS, getParentObject(), ilLOEditorStatus\SECTION_MATERIALS, and showStatus().
|
protected |
Return from objectives.
Definition at line 192 of file class.ilLOEditorGUI.php.
References $_SESSION, listObjectives(), and ilCourseObjectivesGUI\MODE_UNDEFINED.
|
protected |
Definition at line 889 of file class.ilLOEditorGUI.php.
References $form, $settings, applySettingsTemplate(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilUtil\sendFailure(), setTestType(), testAssignment(), updateMaterialAssignments(), and updateStartObjects().
|
protected |
Definition at line 1118 of file class.ilLOEditorGUI.php.
References $form, $GLOBALS, $title, getParentObject(), initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES, showObjectiveCreation(), and showStatus().
|
protected |
Definition at line 296 of file class.ilLOEditorGUI.php.
References $form, $settings, ilLPStatusWrapper\_refreshStatus(), ilLOSettings\getInstanceByObjId(), getParentObject(), initSettingsForm(), ilUtil\sendFailure(), ilUtil\sendInfo(), 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, updateStartObjects(), and updateTestAssignments().
|
protected |
save position
protected
Definition at line 1145 of file class.ilLOEditorGUI.php.
References $_POST, $DIC, $ilErr, getParentObject(), and listObjectives().
|
protected |
Save Test.
Definition at line 977 of file class.ilLOEditorGUI.php.
References $form, $settings, applySettingsTemplate(), ilLOSettings\getInstanceByObjId(), getParentObject(), getSettings(), getTestType(), ilUtil\sendFailure(), setTestType(), testSettings(), updateMaterialAssignments(), and updateStartObjects().
|
protected |
Set tabs.
type | $a_section |
Definition at line 1286 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, ilLOSettings\getInstanceByObjId(), getParentObject(), ilLOSettings\TYPE_INITIAL_PLACEMENT_ALL, ilLOSettings\TYPE_INITIAL_QUALIFYING_ALL, ilLOSettings\TYPE_QUALIFYING_ALL, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by executeCommand().
ilLOEditorGUI::setTestType | ( | $a_type | ) |
Definition at line 216 of file class.ilLOEditorGUI.php.
References $a_type.
Referenced by confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), saveMultiTestAssignment(), saveTest(), testAssignment(), testOverview(), and testsOverview().
|
protected |
Objective Settings.
Definition at line 230 of file class.ilLOEditorGUI.php.
References $form, $GLOBALS, initSettingsForm(), ilLOEditorStatus\SECTION_SETTINGS, and showStatus().
Referenced by __construct(), and saveSettings().
|
protected |
Show objective creation form.
ilPropertyFormGUI | $form |
Definition at line 1085 of file class.ilLOEditorGUI.php.
References $form, $GLOBALS, initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES_NEW, and showStatus().
Referenced by listObjectives(), and saveObjectiveCreation().
|
protected |
Show status panel.
Definition at line 1271 of file class.ilLOEditorGUI.php.
References $GLOBALS, and getParentObject().
Referenced by askDeleteObjectives(), confirmDeleteTest(), confirmDeleteTests(), listObjectives(), materials(), saveObjectiveCreation(), settings(), showObjectiveCreation(), testAssignment(), testOverview(), testSettings(), and testsOverview().
|
protected |
new test assignment
Definition at line 773 of file class.ilLOEditorGUI.php.
References $form, $GLOBALS, getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveMultiTestAssignment().
|
protected |
Show test overview.
Definition at line 540 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, $table, ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), TEST_TYPE_IT, testSettings(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Show test settings.
ilPropertyFormGUI | $form |
Definition at line 805 of file class.ilLOEditorGUI.php.
References $form, $GLOBALS, getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, showStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveTest(), testOverview(), and testsOverview().
|
protected |
View test assignments ()
Definition at line 489 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, $table, ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, setTestType(), showStatus(), TEST_TYPE_IT, testSettings(), ilLOTestAssignmentTableGUI\TYPE_MULTIPLE_ASSIGNMENTS, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
\ilObjTest | $test |
Definition at line 960 of file class.ilLOEditorGUI.php.
References $key, ilCourseObjective\_getObjectiveIds(), getParentObject(), and ilObject\getRefId().
Referenced by saveMultiTestAssignment(), and saveTest().
|
protected |
Add Test as start object.
ilObjTest | $tst |
Definition at line 881 of file class.ilLOEditorGUI.php.
References $start, getParentObject(), and getSettings().
Referenced by saveMultiTestAssignment(), saveSettings(), and saveTest().
|
protected |
Update Test assignments.
ilLOSettings | $settings |
Definition at line 260 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 40 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 39 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 34 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 37 of file class.ilLOEditorGUI.php.
Referenced by getParentObject().
|
private |
Definition at line 38 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), confirmDeleteTests(), deleteTest(), deleteTests(), getSettings(), saveMultiTestAssignment(), saveSettings(), saveTest(), setTabs(), testOverview(), and testsOverview().
|
private |
Definition at line 42 of file class.ilLOEditorGUI.php.
Referenced by getTestType().
const ilLOEditorGUI::SETTINGS_TEMPLATE_IT = 'il_astpl_loc_initial' |
Definition at line 27 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::SETTINGS_TEMPLATE_QT = 'il_astpl_loc_qualified' |
Definition at line 28 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_ASSIGN = 2 |
Definition at line 25 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_NEW = 1 |
Definition at line 24 of file class.ilLOEditorGUI.php.
const ilLOEditorGUI::TEST_TYPE_IT = 1 |
Definition at line 21 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), testOverview(), and testsOverview().
const ilLOEditorGUI::TEST_TYPE_QT = 2 |
Definition at line 22 of file class.ilLOEditorGUI.php.