|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilLOEditorGUI. More...
Collaboration diagram for ilLOEditorGUI: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 | |
| settings (ilPropertyFormGUI $form=NULL) | |
| Objective Settings. More... | |
| saveSettings () | |
| initSettingsForm () | |
| Init settings form. More... | |
| materials () | |
| testOverview () | |
| Show test overview. More... | |
| confirmDeleteTest () | |
| Show delete confirmation screen. More... | |
| deleteTest () | |
| Delete test assignment. More... | |
| testSettings (ilPropertyFormGUI $form=NULL) | |
| Show test settings. More... | |
| getAssignableTests () | |
| Get assignable tests. More... | |
| initTestForm () | |
| Show test config form. More... | |
| applySettingsTemplate (ilObjTest $tst) | |
| Apply auto generated setttings template. More... | |
| updateStartObjects () | |
| Add Test as start object. More... | |
| 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 @global type $rbacsystem. More... | |
| showStatus ($a_section) | |
| Show status panel. More... | |
| setTabs ($a_section='') | |
| Set tabs. More... | |
Private Attributes | |
| $parent_obj | |
| $settings = NULL | |
| $lng = NULL | |
| $ctrl = NULL | |
| $test_type = 0 | |
Class ilLOEditorGUI.
@ilCtrl_isCalledBy ilLOEditorGUI: ilObjCourseGUI @ilCtrl_Calls ilLOEditorGUI: ilCourseObjectivesGUI, ilContainerStartObjectsGUI, ilConditionHandlerGUI @ilCtrl_Calls ilLOEditorGUI: ilLOPageGUI
Definition at line 19 of file class.ilLOEditorGUI.php.
| ilLOEditorGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
| type | $a_parent_obj |
Definition at line 43 of file class.ilLOEditorGUI.php.
References $GLOBALS, ilLOSettings\getInstanceByObjId(), getParentObject(), and settings().
Here is the call graph for this function:
|
protected |
activate chosen objectives
Definition at line 940 of file class.ilLOEditorGUI.php.
References $_REQUEST, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Apply auto generated setttings template.
| ilObjTest | $tst |
Definition at line 670 of file class.ilLOEditorGUI.php.
References ilSettingsTemplate\getAllSettingsTemplates(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), getTestType(), ilObjTest\setTemplate(), TEST_TYPE_IT, and TEST_TYPE_QT.
Referenced by saveTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Confirm delete objectives.
Definition at line 910 of file class.ilLOEditorGUI.php.
References $_POST, $GLOBALS, getParentObject(), ilLOEditorStatus\SECTION_OBJECTIVES, and showStatus().
Here is the call graph for this function:
|
protected |
Show delete confirmation screen.
Definition at line 400 of file class.ilLOEditorGUI.php.
References $_REQUEST, $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.
Here is the call graph for this function:
|
protected |
activate chosen objectives
Definition at line 966 of file class.ilLOEditorGUI.php.
References $_REQUEST, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Delete objectives @global type $rbacsystem.
Definition at line 994 of file class.ilLOEditorGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Delete test assignment.
Definition at line 448 of file class.ilLOEditorGUI.php.
References $_REQUEST, $GLOBALS, $settings, ilCourseObjectiveQuestion\deleteTest(), ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilUtil\sendSuccess(), setTestType(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:| ilLOEditorGUI::executeCommand | ( | ) |
Execute command.
Definition at line 55 of file class.ilLOEditorGUI.php.
References $_REQUEST, $cmd, $GLOBALS, $ilCtrl, $ret, ilPageObject\_exists(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), ilLOEditorStatus\getInstance(), getParentObject(), ilCourseObjective\lookupObjectiveTitle(), and setTabs().
Here is the call graph for this function:
|
protected |
Get assignable tests.
Definition at line 531 of file class.ilLOEditorGUI.php.
References $GLOBALS, $tests, getParentObject(), and getSettings().
Referenced by initTestForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorGUI::getParentObject | ( | ) |
Definition at line 175 of file class.ilLOEditorGUI.php.
References $parent_obj.
Referenced by __construct(), activateObjectives(), askDeleteObjectives(), confirmDeleteTest(), deactivateObjectives(), deleteObjectives(), deleteTest(), executeCommand(), getAssignableTests(), initSettingsForm(), listObjectives(), materials(), saveObjectiveCreation(), saveSettings(), saveSorting(), saveTest(), setTabs(), showStatus(), testOverview(), and updateStartObjects().
Here is the caller graph for this function:| ilLOEditorGUI::getSettings | ( | ) |
Settings.
Definition at line 184 of file class.ilLOEditorGUI.php.
References $settings.
Referenced by getAssignableTests(), initSettingsForm(), initTestForm(), saveTest(), and updateStartObjects().
Here is the caller graph for this function:| ilLOEditorGUI::getTestType | ( | ) |
Definition at line 194 of file class.ilLOEditorGUI.php.
References $test_type.
Referenced by applySettingsTemplate(), confirmDeleteTest(), deleteTest(), initTestForm(), saveTest(), testOverview(), and testSettings().
Here is the caller graph for this function:
|
protected |
Init settings form.
Definition at line 251 of file class.ilLOEditorGUI.php.
References ilLOSettings\getInstanceByObjId(), getParentObject(), getSettings(), ilLOSettings\LOC_INITIAL_ALL, ilLOSettings\LOC_INITIAL_SEL, ilLOSettings\LOC_PRACTISE, ilLOSettings\LOC_QUALIFIED, ilLOSettings\QT_VISIBLE_ALL, and ilLOSettings\QT_VISIBLE_OBJECTIVE.
Referenced by saveSettings(), and settings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show objective creation form.
Definition at line 845 of file class.ilLOEditorGUI.php.
References $txt.
Referenced by saveObjectiveCreation(), and showObjectiveCreation().
Here is the caller graph for this function:
|
protected |
Show test config form.
Definition at line 548 of file class.ilLOEditorGUI.php.
References $options, ilObject\_lookupDescription(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), getAssignableTests(), getSettings(), getTestType(), ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, TEST_TYPE_IT, TEST_TYPE_QT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveTest(), and testSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
List all abvailable objectives.
Definition at line 805 of file class.ilLOEditorGUI.php.
References $GLOBALS, ilCourseObjective\_getObjectiveIds(), getParentObject(), ilLOEditorStatus\SECTION_OBJECTIVES, and showStatus().
Referenced by saveSorting().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 319 of file class.ilLOEditorGUI.php.
References $GLOBALS, getParentObject(), ilLOEditorStatus\SECTION_MATERIALS, and showStatus().
Here is the call graph for this function:
|
protected |
Definition at line 862 of file class.ilLOEditorGUI.php.
References $GLOBALS, getParentObject(), initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES, ilUtil\sendSuccess(), and showStatus().
Here is the call graph for this function:
|
protected |
Definition at line 219 of file class.ilLOEditorGUI.php.
References $settings, ilLOSettings\getInstanceByObjId(), getParentObject(), initSettingsForm(), ilLOSettings\QT_VISIBLE_ALL, ilLOSettings\QT_VISIBLE_OBJECTIVE, ilUtil\sendFailure(), ilUtil\sendSuccess(), settings(), and updateStartObjects().
Here is the call graph for this function:
|
protected |
save position
@access protected
Definition at line 890 of file class.ilLOEditorGUI.php.
References $_POST, $ilErr, getParentObject(), listObjectives(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Save Test.
Definition at line 733 of file class.ilLOEditorGUI.php.
References $_REQUEST, $settings, applySettingsTemplate(), ilLOSettings\getInstanceByObjId(), getParentObject(), getSettings(), getTestType(), initTestForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), setTestType(), testSettings(), and updateStartObjects().
Here is the call graph for this function:
|
protected |
Set tabs.
| type | $a_section |
Definition at line 1032 of file class.ilLOEditorGUI.php.
References $GLOBALS, $settings, ilLOSettings\getInstanceByObjId(), and getParentObject().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorGUI::setTestType | ( | $a_type | ) |
Definition at line 189 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), deleteTest(), saveTest(), and testOverview().
Here is the caller graph for this function:
|
protected |
Objective Settings.
Definition at line 203 of file class.ilLOEditorGUI.php.
References $GLOBALS, initSettingsForm(), ilLOEditorStatus\SECTION_SETTINGS, and showStatus().
Referenced by __construct(), and saveSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show objective creation form.
| ilPropertyFormGUI | $form |
Definition at line 828 of file class.ilLOEditorGUI.php.
References $GLOBALS, initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES_NEW, and showStatus().
Here is the call graph for this function:
|
protected |
Show status panel.
Definition at line 1017 of file class.ilLOEditorGUI.php.
References $GLOBALS, and getParentObject().
Referenced by askDeleteObjectives(), confirmDeleteTest(), listObjectives(), materials(), saveObjectiveCreation(), settings(), showObjectiveCreation(), testOverview(), and testSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show test overview.
Definition at line 347 of file class.ilLOEditorGUI.php.
References $_REQUEST, $GLOBALS, $settings, 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.
Here is the call graph for this function:
|
protected |
Show test settings.
| ilPropertyFormGUI | $form |
Definition at line 501 of file class.ilLOEditorGUI.php.
References $_REQUEST, $GLOBALS, getTestType(), initTestForm(), ilLOEditorStatus\SECTION_ITES, ilLOEditorStatus\SECTION_QTEST, showStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveTest(), and testOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add Test as start object.
| ilObjTest | $tst |
Definition at line 722 of file class.ilLOEditorGUI.php.
References getParentObject(), and getSettings().
Referenced by saveSettings(), and saveTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 34 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 33 of file class.ilLOEditorGUI.php.
|
private |
Definition at line 31 of file class.ilLOEditorGUI.php.
Referenced by getParentObject().
|
private |
Definition at line 32 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), deleteTest(), getSettings(), saveSettings(), saveTest(), setTabs(), and testOverview().
|
private |
Definition at line 36 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 applySettingsTemplate(), confirmDeleteTest(), initTestForm(), and testOverview().
| const ilLOEditorGUI::TEST_TYPE_QT = 2 |
Definition at line 22 of file class.ilLOEditorGUI.php.
Referenced by applySettingsTemplate(), and initTestForm().