5 include_once
'./Modules/Course/classes/Objectives/class.ilLOSettings.php';
6 include_once
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
51 $this->parent_obj = $a_parent_obj;
67 $next_class = $ilCtrl->getNextClass($this);
68 $cmd = $ilCtrl->getCmd();
73 case 'ilcourseobjectivesgui':
75 $this->ctrl->setReturn($this,
'returnFromObjectives');
78 $this->lng->txt(
'back'),
79 $this->ctrl->getLinkTarget($this,
'listObjectives'));
81 include_once
'./Modules/Course/classes/class.ilCourseObjectivesGUI.php';
83 $this->ctrl->forwardCommand($reg_gui);
86 case 'ilcontainerstartobjectsgui':
88 include_once
'./Services/Container/classes/class.ilContainerStartObjectsGUI.php';
90 $ret = $this->ctrl->forwardCommand($stgui);
92 $GLOBALS[
'ilTabs']->activateSubTab(
'start');
93 $GLOBALS[
'ilTabs']->removeSubTab(
'manage');
95 #$GLOBALS['tpl']->setContent($this->ctrl->getHTML($stgui)); 98 case 'ilconditionhandlergui':
100 $this->ctrl->saveParameterByClass(
'ilconditionhandlergui',
'objective_id');
104 $this->lng->txt(
'back'),
105 $this->ctrl->getLinkTarget($this,
'listObjectives'));
107 include_once
'./Services/AccessControl/classes/class.ilConditionHandlerInterface.php';
109 $cond->setBackButtons(
array());
110 $cond->setAutomaticValidation(
false);
111 $cond->setTargetType(
"lobj");
114 $cond->setTargetId((
int) $_REQUEST[
'objective_id']);
117 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
119 $cond->setTargetTitle($obj->getTitle());
120 $this->ctrl->forwardCommand($cond);
124 $this->ctrl->saveParameterByClass(
'illopagegui',
'objective_id');
128 $this->lng->txt(
'back'),
129 $this->ctrl->getLinkTarget($this,
'listObjectives'));
131 $objtv_id = (int)$_REQUEST[
'objective_id'];
133 include_once
'Modules/Course/classes/Objectives/class.ilLOPage.php';
138 $new_page_object->setParentId($objtv_id);
139 $new_page_object->setId($objtv_id);
140 $new_page_object->createFromXML();
141 unset($new_page_object);
144 $this->ctrl->setReturn($this,
'listObjectives');
145 include_once
'Modules/Course/classes/Objectives/class.ilLOPageGUI.php';
149 include_once(
'./Services/Style/Content/classes/class.ilObjStyleSheet.php');
151 $this->parent_obj->getStyleSheetId(), $this->parent_obj->getType()));
154 $GLOBALS[
'tpl']->setCurrentBlock(
"ContentStyle");
155 $GLOBALS[
'tpl']->setVariable(
"LOCATION_CONTENT_STYLESHEET",
157 $this->parent_obj->getStyleSheetId(), $this->parent_obj->getType())));
158 $GLOBALS[
'tpl']->parseCurrentBlock();
160 $ret = $this->ctrl->forwardCommand($pgui);
171 include_once
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
187 include_once
'./Modules/Course/classes/class.ilCourseObjectivesGUI.php';
230 $GLOBALS[
'ilTabs']->activateSubTab(
'settings');
231 $GLOBALS[
'tpl']->setContent($form->getHTML());
244 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignments.php';
246 foreach($assignments->getAssignmentsByType(
$a_type) as $assignment)
248 $assignment->delete();
297 if($form->checkInput())
300 $settings->setInitialTestType($form->getInput(
'ittype'));
304 $settings->setInitialTestAsStart($form->getInput(
'start_ip'));
312 $settings->setInitialTestAsStart($form->getInput(
'start_iq'));
324 $settings->setQualifyingTestType($form->getInput(
'qttype'));
325 switch(
$settings->getQualifyingTestType())
328 $settings->setQualifyingTestAsStart($form->getInput(
'start_q'));
332 $settings->setQualifyingTestAsStart(
false);
337 $settings->resetResults($form->getInput(
'reset'));
338 $settings->setPassedObjectiveMode($form->getInput(
'passed_mode'));
345 $settings->setQualifyingTestAsStart(FALSE);
353 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
357 $this->ctrl->redirect($this,
'settings');
362 $form->setValuesByPost();
371 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
373 $form->setFormAction($this->ctrl->getFormAction($this));
374 $form->setTitle($this->lng->txt(
'crs_loc_settings_tbl'));
377 $type_selector =
new ilRadioGroupInputGUI($this->lng->txt(
'crs_loc_settings_it_type'),
'ittype');
379 $type_selector->setValue($this->
getSettings()->getInitialTestType());
382 $type_ipa->
setInfo($this->lng->txt(
'crs_loc_settings_type_it_placement_all_info'));
383 $type_selector->addOption($type_ipa);
385 $start_ip =
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_it_start_object'),
'start_ip');
387 $start_ip->setChecked($this->
getSettings()->isInitialTestStart());
388 $type_ipa->addSubItem($start_ip);
391 $type_ips->
setInfo($this->lng->txt(
'crs_loc_settings_type_it_placement_sel_info'));
392 $type_selector->addOption($type_ips);
395 $type_iqa->
setInfo($this->lng->txt(
'crs_loc_settings_type_it_qualifying_all_info'));
396 $type_selector->addOption($type_iqa);
398 $start_iq =
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_it_start_object'),
'start_iq');
400 $start_iq->setChecked($this->
getSettings()->isInitialTestStart());
401 $type_iqa->addSubItem($start_iq);
404 $type_iqs->
setInfo($this->lng->txt(
'crs_loc_settings_type_it_qualifying_sel_info'));
405 $type_selector->addOption($type_iqs);
408 $type_ino->
setInfo($this->lng->txt(
'crs_loc_settings_type_it_none_info'));
409 $type_selector->addOption($type_ino);
411 $form->addItem($type_selector);
416 $qt_selector->setValue($this->
getSettings()->getQualifyingTestType());
419 $type_qa->
setInfo($this->lng->txt(
'crs_loc_settings_type_q_all_info'));
420 $qt_selector->addOption($type_qa);
422 $start_q =
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_qt_start_object'),
'start_q');
424 $start_q->setChecked($this->
getSettings()->isQualifyingTestStart());
425 $type_qa->addSubItem($start_q);
427 $passed_mode =
new ilRadioGroupInputGUI($this->lng->txt(
'crs_loc_settings_passed_mode'),
'passed_mode');
430 $passed_mode->addOption(
432 $this->lng->txt(
'crs_loc_settings_passed_mode_hide'),
435 $passed_mode->addOption(
437 $this->lng->txt(
'crs_loc_settings_passed_mode_mark'),
440 $type_qa->addSubItem($passed_mode);
443 $type_qs->
setInfo($this->lng->txt(
'crs_loc_settings_type_q_selected_info'));
444 $qt_selector->addOption($type_qs);
446 $form->addItem($qt_selector);
451 $reset->setChecked($this->
getSettings()->isResetResultsEnabled());
452 $reset->setOptionTitle($this->lng->txt(
'crs_loc_settings_reset_enable'));
453 $reset->setInfo($this->lng->txt(
'crs_loc_settings_reset_enable_info'));
454 $form->addItem($reset);
456 $form->addCommandButton(
'saveSettings', $this->lng->txt(
'save'));
464 $GLOBALS[
'ilTabs']->activateSubTab(
'materials');
466 include_once
"Services/Object/classes/class.ilObjectAddNewItemGUI.php";
468 $gui->setDisabledObjectTypes(
array(
"itgr"));
469 #$gui->setAfterCreationCallback($this->getParentObject()->getRefId()); 472 include_once
'./Services/Object/classes/class.ilObjectTableGUI.php';
481 $GLOBALS[
'tpl']->setContent($obj_table->getHTML());
492 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
494 $GLOBALS[
'ilToolbar']->setFormAction($this->ctrl->getFormAction($this));
496 $this->lng->txt(
'crs_loc_btn_new_assignment'),
497 $this->ctrl->getLinkTarget($this,
'testAssignment')
505 $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
509 $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
514 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentTableGUI.php';
523 $table->parseMultipleAssignments();
524 $GLOBALS[
'tpl']->setContent($table->getHTML());
534 $GLOBALS[
'ilLog']->write(__METHOD__.
': Show new assignment screen because of : '. $ex->getMessage());
549 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
555 $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
559 $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
565 if(!
$settings->getTestByType($this->getTestType()))
571 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentTableGUI.php';
580 $GLOBALS[
'tpl']->setContent($table->getHTML());
590 $GLOBALS[
'ilLog']->write(__METHOD__.
': Show new assignment screen because of : '. $ex->getMessage());
601 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
607 $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
611 $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
615 if(!(
int) $_REQUEST[
'tst'])
618 $this->ctrl->redirect($this,
'testsOverview');
621 include_once
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
623 $confirm->setHeaderText($this->lng->txt(
'crs_loc_confirm_delete_tst'));
624 $confirm->setFormAction($this->ctrl->getFormAction($this));
625 $confirm->setConfirm($this->lng->txt(
'crs_loc_delete_assignment'),
'deleteTests');
626 $confirm->setCancel($this->lng->txt(
'cancel'),
'testsOverview');
628 foreach((
array) $_REQUEST[
'tst'] as $assign_id)
630 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
638 $GLOBALS[
'tpl']->setContent($confirm->getHTML());
653 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
659 $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
663 $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
667 if(!(
int) $_REQUEST[
'tst'])
670 $this->ctrl->redirect($this,
'testOverview');
673 include_once
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
675 $confirm->setHeaderText($this->lng->txt(
'crs_loc_confirm_delete_tst'));
676 $confirm->setFormAction($this->ctrl->getFormAction($this));
677 $confirm->setConfirm($this->lng->txt(
'crs_loc_delete_assignment'),
'deleteTest');
678 $confirm->setCancel($this->lng->txt(
'cancel'),
'testOverview');
680 foreach((
array) $_REQUEST[
'tst'] as $tst_id)
686 $GLOBALS[
'tpl']->setContent($confirm->getHTML());
701 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
707 $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
711 $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
715 foreach((
array) $_REQUEST[
'tst'] as $assign_id)
717 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
719 $assignment->delete();
722 include_once
'./Services/Container/classes/class.ilContainerStartObjects.php';
727 $start->deleteItem($assignment->getTestRefId());
730 include_once
'./Modules/Course/classes/class.ilCourseObjectiveQuestion.php';
736 $this->ctrl->redirect($this,
'testsOverview');
745 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
751 $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
755 $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
759 foreach((
array) $_REQUEST[
'tst'] as $tst_id)
774 include_once
'./Services/Container/classes/class.ilContainerStartObjects.php';
779 $start->deleteItem($tst_id);
782 include_once
'./Modules/Course/classes/class.ilCourseObjectiveQuestion.php';
788 $this->ctrl->redirect($this,
'testOverview');
797 $this->ctrl->setParameter($this,
'tt',$this->
getTestType());
802 $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
806 $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
811 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
813 $form = $form_helper->initForm(TRUE);
815 $GLOBALS[
'tpl']->setContent($form->getHTML());
830 $this->ctrl->setParameter($this,
'tt',(
int) $_REQUEST[
'tt']);
834 $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
838 $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
844 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
846 $form = $form_helper->initForm(FALSE);
848 $GLOBALS[
'tpl']->setContent($form->getHTML());
863 include_once
"Services/Administration/classes/class.ilSettingsTemplate.php";
864 include_once
'./Modules/Test/classes/class.ilObjAssessmentFolderGUI.php';
871 case self::TEST_TYPE_IT:
872 if($template[
'title'] == self::SETTINGS_TEMPLATE_IT)
874 $tpl_id = $template[
'id'];
877 case self::TEST_TYPE_QT:
878 if($template[
'title'] == self::SETTINGS_TEMPLATE_QT)
880 $tpl_id = $template[
'id'];
895 include_once
"Services/Administration/classes/class.ilSettingsTemplate.php";
896 include_once
'./Modules/Test/classes/class.ilObjAssessmentFolderGUI.php';
898 $template_settings = $template->getSettings();
899 if($template_settings)
901 include_once
'./Modules/Test/classes/class.ilObjTestGUI.php';
903 $tst_gui->applyTemplate($template_settings, $tst);
915 include_once
'./Services/Container/classes/class.ilContainerStartObjects.php';
924 $this->ctrl->setParameter($this,
'tt',(
int) $_REQUEST[
'tt']);
929 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
931 $form = $form_helper->initForm(TRUE);
933 if($form->checkInput())
935 $mode = $form->getInput(
'mode');
937 if($mode == self::TEST_NEW)
940 $tst->setType(
'tst');
941 $tst->setTitle($form->getInput(
'title'));
942 $tst->setDescription($form->getInput(
'desc'));
944 $tst->createReference();
951 $tst->setQuestionSetType($form->getInput(
'qtype'));
955 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
958 $assignment->setAssignmentType($this->
getTestType());
959 $assignment->setObjectiveId($form->getInput(
'objective'));
960 $assignment->setTestRefId($tst->getRefId());
965 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
968 $assignment->setAssignmentType($this->
getTestType());
969 $assignment->setObjectiveId($form->getInput(
'objective'));
970 $assignment->setTestRefId($form->getInput(
'tst'));
973 $tst =
new ilObjTest($form->getInput(
'tst'),
true);
986 $this->ctrl->redirect($this,
'testsOverview');
991 $form->setValuesByPost();
1000 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1003 include_once
'./Modules/Course/classes/class.ilCourseObjectiveMaterials.php';
1005 foreach($materials->getMaterials() as $key => $material)
1007 if($material[
'ref_id'] == $test->
getRefId())
1009 $materials->delete($material[
'lm_ass_id']);
1020 $this->ctrl->setParameter($this,
'tt',(
int) $_REQUEST[
'tt']);
1025 include_once
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
1027 $form = $form_helper->initForm(FALSE);
1029 if($form->checkInput())
1031 $mode = $form->getInput(
'mode');
1033 if($mode == self::TEST_NEW)
1036 $tst->setType(
'tst');
1037 $tst->setTitle($form->getInput(
'title'));
1038 $tst->setDescription($form->getInput(
'desc'));
1040 $tst->createReference();
1047 $tst->setQuestionSetType($form->getInput(
'qtype'));
1053 $this->
getSettings()->setInitialTest($tst->getRefId());
1057 $this->
getSettings()->setQualifiedTest($tst->getRefId());
1065 $this->
getSettings()->setInitialTest($form->getInput(
'tst'));
1069 $this->
getSettings()->setQualifiedTest($form->getInput(
'tst'));
1086 $this->ctrl->redirect($this,
'testOverview');
1091 $form->setValuesByPost();
1102 include_once
'./Modules/Course/classes/class.ilCourseObjectivesGUI.php';
1106 $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
1113 if(!count($objectives))
1118 $ilToolbar->addButton(
1119 $this->lng->txt(
'crs_add_objective'),
1120 $this->ctrl->getLinkTargetByClass(
'ilcourseobjectivesgui',
"create"));
1122 include_once(
'./Modules/Course/classes/class.ilCourseObjectivesTableGUI.php');
1124 $table->setTitle($this->lng->txt(
'crs_objectives'),
'',$this->lng->txt(
'crs_objectives'));
1125 $table->parse($objectives);
1126 $GLOBALS[
'tpl']->setContent($table->getHTML());
1137 $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
1144 $GLOBALS[
'tpl']->setContent($form->getHTML());
1154 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
1156 $form->setTitle($this->lng->txt(
'crs_loc_form_create_objectives'));
1157 $form->setFormAction($this->ctrl->getFormAction($this));
1161 $txt->setRequired(
true);
1162 $form->addItem(
$txt);
1164 $form->addCommandButton(
'saveObjectiveCreation', $this->lng->txt(
'save'));
1172 if($form->checkInput())
1174 foreach((
array) $form->getInput(
'objectives') as $idx =>
$title)
1176 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1178 $obj->setActive(TRUE);
1183 $this->ctrl->redirect($this,
'');
1186 $form->setValuesByPost();
1187 $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
1200 global $ilAccess,
$ilErr,$ilObjDataCache;
1202 asort(
$_POST[
'position'],SORT_NUMERIC);
1205 foreach(
$_POST[
'position'] as $objective_id => $position)
1207 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1209 $objective->writePosition(
$counter++);
1220 $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
1222 include_once
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
1224 $confirm->setFormAction($this->ctrl->getFormAction($this));
1225 $confirm->setHeaderText($this->lng->txt(
'crs_delete_objectve_sure'));
1226 $confirm->setConfirm($this->lng->txt(
'delete'),
'deleteObjectives');
1227 $confirm->setCancel($this->lng->txt(
'cancel'),
'listObjectives');
1229 foreach(
$_POST[
'objective'] as $objective_id)
1231 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1233 $name = $obj->getTitle();
1241 $GLOBALS[
'tpl']->setContent($confirm->getHTML());
1250 $enabled = (
array) $_REQUEST[
'objective'];
1252 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1254 foreach((
array) $objectives as $objective_id)
1257 if(in_array($objective_id, $enabled))
1259 $objective->setActive(
true);
1260 $objective->update();
1264 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
1268 $this->ctrl->redirect($this,
'listObjectives');
1276 $disabled = (
array) $_REQUEST[
'objective'];
1278 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1280 foreach((
array) $objectives as $objective_id)
1283 if(in_array($objective_id, $disabled))
1285 $objective->setActive(
false);
1286 $objective->update();
1290 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
1294 $this->ctrl->redirect($this,
'listObjectives');
1306 foreach(
$_POST[
'objective_ids'] as $objective_id)
1308 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
1310 $objective_obj->delete();
1313 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
1317 $this->ctrl->redirect($this,
'listObjectives');
1327 include_once
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
1329 $status->setSection($a_section);
1330 $status->setCmdClass($this);
1331 $GLOBALS[
'tpl']->setRightContent($status->getHTML());
1345 $this->lng->txt(
'settings'),
1346 $this->ctrl->getLinkTarget($this,
'settings')
1351 $this->lng->txt(
'crs_loc_tab_objectives'),
1352 $this->ctrl->getLinkTarget($this,
'listObjectives')
1374 $this->lng->txt(
'crs_loc_tab_itest'),
1375 $this->ctrl->getLinkTarget($this,
'testOverview')
1383 $this->lng->txt(
'crs_loc_tab_itests'),
1384 $this->ctrl->getLinkTarget($this,
'testsOverview')
1397 $this->lng->txt(
'crs_loc_tab_qtest'),
1398 $this->ctrl->getLinkTarget($this,
'testOverview')
1406 $this->lng->txt(
'crs_loc_tab_qtests'),
1407 $this->ctrl->getLinkTarget($this,
'testsOverview')
1415 $this->lng->txt(
'crs_loc_tab_start'),
1416 $this->ctrl->getLinkTargetByClass(
'ilcontainerstartobjectsgui',
'')
1421 #include_once './Services/Container/classes/class.ilMemberViewGUI.php'; 1422 #ilMemberViewGUI::showMemberViewSwitch($this->getParentObject()->getRefId()); static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static _exists($a_parent_type, $a_id, $a_lang="", $a_no_cache=false)
Checks whether page exists.
static getSettingsTemplateConfig()
static getInstanceByObjId($a_obj_id)
get singleton instance
update()
update settings type $ilDB
This class represents an option in a radio group.
testOverview()
Show test overview.
static getAllSettingsTemplates($a_type, $a_include_auto_generated=false)
Get all settings templates of type.
class ilConditionHandlerGUI
static getInstance($a_container_id)
Get instance by container id.
static lookupObjectiveTitle($a_objective_id, $a_add_description=false)
setTabs($a_section='')
Set tabs.
testsOverview()
View test assignments ()
const TYPE_INITIAL_QUALIFYING_SELECTED
(Course) learning objective page object
saveMultiTestAssignment()
confirmDeleteTest()
Show delete confirmation screen.
setInitialTest($a_id)
set initial test id
saveSorting()
save position
Presentation of the status of single steps during the configuration process.
getInitialTestType()
Get initial test type.
showObjectiveCreation(ilPropertyFormGUI $form=NULL)
Show objective creation form.
deleteAssignments($a_type)
Delete assignments.
const TYPE_MULTIPLE_ASSIGNMENTS
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
static _getObjectiveIds($course_id, $a_activated_only=false)
const TYPE_QUALIFYING_ALL
static _lookupTitle($a_id)
lookup object title
initSettingsForm()
Init settings form.
askDeleteObjectives()
Confirm delete objectives.
setQualifiedTest($a_id)
set qualified test
static _refreshStatus($a_obj_id, $a_users=null)
Set dirty.
initSimpleObjectiveForm()
Show objective creation form.
setInfo($a_info)
Set Info.
const HIDE_PASSED_OBJECTIVE_QST
const SETTINGS_TEMPLATE_QT
deleteObjectives()
Delete objectives type $rbacsystem.
updateStartObjects()
Add Test as start object.
executeCommand()
Execute command.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
class ilCourseObjectiveMaterials
class ilobjcourseobjectivesgui
updateTestAssignments(ilLOSettings $settings)
Update Test assignments.
deleteTest()
Delete test assignment.
Class ilLOTestAssignmentTableGUI.
static getInstance(ilObject $a_parent)
Get instance.
setTemplate($template_id)
static _lookupObjId($a_id)
const MARK_PASSED_OBJECTIVE_QST
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
Class ilLOInvalidConfigurationException.
updateMaterialAssignments(ilObjTest $test)
activateObjectives()
activate chosen objectives
__construct($a_parent_obj)
Constructor.
(Course) learning objective page GUI class
const SECTION_OBJECTIVES_NEW
Create styles array
The data for the language used.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
deactivateObjectives()
activate chosen objectives
deleteTests()
Delete test assignments.
static getContentStylePath($a_style_id)
get content style path
settings(ilPropertyFormGUI $form=NULL)
Objective Settings.
getQualifyingTestType()
Get qualifying test type.
Render add new item selector.
showStatus($a_section)
Show status panel.
getRefId()
get reference id public
listObjectives()
List all abvailable objectives.
const TYPE_INITIAL_QUALIFYING_ALL
const TYPE_TEST_QUALIFIED
const TYPE_INITIAL_PLACEMENT_ALL
static getLogger($a_component_id)
Get component logger.
testSettings(ilPropertyFormGUI $form=NULL)
Show test settings.
const TYPE_QUALIFYING_SELECTED
This class represents a text wizard property in a property form.
confirmDeleteTests()
Show delete test confirmation.
testAssignment(ilPropertyFormGUI $form=null)
new test assignment
returnFromObjectives()
Return from objectives.
applySettingsTemplate(ilObjTest $tst)
Apply auto generated setttings template.
static deleteTest($a_tst_ref_id)
Settings template application class.
Class ilContainerStartObjectsGUI.
const SETTINGS_TEMPLATE_IT
Confirmation screen class.
const TYPE_INITIAL_PLACEMENT_SELECTED