ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilLOEditorGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. | |
executeCommand () | |
Execute command. | |
getParentObject () | |
getSettings () | |
Settings. | |
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. | |
saveSettings () | |
initSettingsForm () | |
Init settings form. | |
materials () | |
testOverview () | |
Show test overview. | |
confirmDeleteTest () | |
Show delete confirmation screen. | |
deleteTest () | |
Delete test assignment. | |
testSettings (ilPropertyFormGUI $form=NULL) | |
Show test settings. | |
getAssignableTests () | |
Get assignable tests. | |
initTestForm () | |
Show test config form. | |
applySettingsTemplate (ilObjTest $tst) | |
Apply auto generated setttings template. | |
updateStartObjects () | |
Add Test as start object. | |
saveTest () | |
Save Test. | |
listObjectives () | |
List all abvailable objectives. | |
showObjectiveCreation (ilPropertyFormGUI $form=NULL) | |
Show objective creation form. | |
initSimpleObjectiveForm () | |
Show objective creation form. | |
saveObjectiveCreation () | |
saveSorting () | |
save position | |
askDeleteObjectives () | |
Confirm delete objectives. | |
activateObjectives () | |
activate chosen objectives | |
deactivateObjectives () | |
activate chosen objectives | |
deleteObjectives () | |
Delete objectives type $rbacsystem. | |
showStatus ($a_section) | |
Show status panel. | |
setTabs ($a_section= '') | |
Set tabs. |
Private Attributes | |
$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 43 of file class.ilLOEditorGUI.php.
References $GLOBALS, ilLOSettings\getInstanceByObjId(), getParentObject(), and settings().
|
protected |
activate chosen objectives
Definition at line 940 of file class.ilLOEditorGUI.php.
References $_REQUEST, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
|
protected |
Apply auto generated setttings template.
ilObjTest | $tst |
Definition at line 670 of file class.ilLOEditorGUI.php.
References ilSettingsTemplate\getAllSettingsTemplates(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), getTestType(), and ilObjTest\setTemplate().
Referenced by saveTest().
|
protected |
Confirm delete objectives.
Definition at line 910 of file class.ilLOEditorGUI.php.
References $_POST, $GLOBALS, getParentObject(), ilLOEditorStatus\SECTION_OBJECTIVES, and showStatus().
|
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.
|
protected |
activate chosen objectives
Definition at line 966 of file class.ilLOEditorGUI.php.
References $_REQUEST, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
|
protected |
Delete objectives type $rbacsystem.
Definition at line 994 of file class.ilLOEditorGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), getParentObject(), and ilUtil\sendSuccess().
|
protected |
Delete test assignment.
Definition at line 448 of file class.ilLOEditorGUI.php.
References $_REQUEST, $GLOBALS, $settings, ilLOSettings\getInstanceByObjId(), getParentObject(), getTestType(), ilUtil\sendSuccess(), setTestType(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
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().
|
protected |
Get assignable tests.
Definition at line 531 of file class.ilLOEditorGUI.php.
References $GLOBALS, $tests, getParentObject(), and getSettings().
Referenced by initTestForm().
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().
ilLOEditorGUI::getSettings | ( | ) |
Settings.
Definition at line 184 of file class.ilLOEditorGUI.php.
References $settings.
Referenced by getAssignableTests(), initSettingsForm(), initTestForm(), saveTest(), and updateStartObjects().
ilLOEditorGUI::getTestType | ( | ) |
Definition at line 194 of file class.ilLOEditorGUI.php.
References $test_type.
Referenced by applySettingsTemplate(), confirmDeleteTest(), deleteTest(), initTestForm(), saveTest(), testOverview(), and testSettings().
|
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, ilLOSettings\QT_VISIBLE_OBJECTIVE, ilRadioOption\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by saveSettings(), and settings().
|
protected |
Show objective creation form.
Definition at line 845 of file class.ilLOEditorGUI.php.
References $txt.
Referenced by saveObjectiveCreation(), and showObjectiveCreation().
|
protected |
Show test config form.
Definition at line 548 of file class.ilLOEditorGUI.php.
References $options, ilObject\_lookupDescription(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilRadioOption\addSubItem(), getAssignableTests(), getSettings(), getTestType(), ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, ilFormPropertyGUI\setRequired(), ilTextInputGUI\setValue(), ilTextAreaInputGUI\setValue(), TEST_ASSIGN, TEST_NEW, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by saveTest(), and testSettings().
|
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().
|
protected |
Definition at line 319 of file class.ilLOEditorGUI.php.
References $GLOBALS, getParentObject(), ilLOEditorStatus\SECTION_MATERIALS, and showStatus().
|
protected |
Definition at line 862 of file class.ilLOEditorGUI.php.
References $GLOBALS, getParentObject(), initSimpleObjectiveForm(), ilLOEditorStatus\SECTION_OBJECTIVES, ilUtil\sendSuccess(), and showStatus().
|
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().
|
protected |
save position
protected
Definition at line 890 of file class.ilLOEditorGUI.php.
References $_POST, $ilErr, getParentObject(), listObjectives(), and ilUtil\sendSuccess().
|
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().
|
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().
ilLOEditorGUI::setTestType | ( | $a_type | ) |
Definition at line 189 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), deleteTest(), saveTest(), and testOverview().
|
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().
|
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().
|
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().
|
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.
|
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().
|
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().
|
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.
Referenced by initTestForm().
const ilLOEditorGUI::TEST_NEW = 1 |
Definition at line 24 of file class.ilLOEditorGUI.php.
Referenced by initTestForm().
const ilLOEditorGUI::TEST_TYPE_IT = 1 |
Definition at line 21 of file class.ilLOEditorGUI.php.
Referenced by confirmDeleteTest(), and testOverview().
const ilLOEditorGUI::TEST_TYPE_QT = 2 |
Definition at line 22 of file class.ilLOEditorGUI.php.