5include_once 
'./Modules/Course/classes/Objectives/class.ilLOSettings.php';
 
    6include_once 
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
 
   51        $this->parent_obj = $a_parent_obj;
 
   67        $next_class = 
$ilCtrl->getNextClass($this);
 
   71        switch ($next_class) {
 
   72            case 'ilcourseobjectivesgui':
 
   74                $this->ctrl->setReturn($this, 
'returnFromObjectives');
 
   77                    $this->lng->txt(
'back'),
 
   78                    $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')
 
  108                include_once 
'./Services/AccessControl/classes/class.ilConditionHandlerInterface.php';
 
  110                $cond->setBackButtons(array());
 
  111                $cond->setAutomaticValidation(
false);
 
  112                $cond->setTargetType(
"lobj");
 
  115                $cond->setTargetId((
int) $_REQUEST[
'objective_id']);
 
  118                include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
  120                $cond->setTargetTitle($obj->getTitle());
 
  121                $this->ctrl->forwardCommand($cond);
 
  125                $this->ctrl->saveParameterByClass(
'illopagegui', 
'objective_id');
 
  129                    $this->lng->txt(
'back'),
 
  130                    $this->ctrl->getLinkTarget($this, 
'listObjectives')
 
  133                $objtv_id = (int) $_REQUEST[
'objective_id'];
 
  135                include_once 
'Modules/Course/classes/Objectives/class.ilLOPage.php';
 
  139                    $new_page_object->setParentId($objtv_id);
 
  140                    $new_page_object->setId($objtv_id);
 
  141                    $new_page_object->createFromXML();
 
  142                    unset($new_page_object);
 
  145                $this->ctrl->setReturn($this, 
'listObjectives');
 
  146                include_once 
'Modules/Course/classes/Objectives/class.ilLOPageGUI.php';
 
  150                include_once(
'./Services/Style/Content/classes/class.ilObjStyleSheet.php');
 
  152                    $this->parent_obj->getStyleSheetId(),
 
  153                    $this->parent_obj->getType()
 
  157                $GLOBALS[
'tpl']->setCurrentBlock(
"ContentStyle");
 
  159                    "LOCATION_CONTENT_STYLESHEET",
 
  161                        $this->parent_obj->getStyleSheetId(),
 
  162                        $this->parent_obj->getType()
 
  165                $GLOBALS[
'tpl']->parseCurrentBlock();
 
  167                $ret = $this->ctrl->forwardCommand($pgui);
 
  176                    include_once 
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
 
  192        include_once 
'./Modules/Course/classes/class.ilCourseObjectivesGUI.php';
 
  234        $GLOBALS[
'ilTabs']->activateSubTab(
'settings');
 
  246        include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignments.php';
 
  248        foreach ($assignments->getAssignmentsByType(
$a_type) as $assignment) {
 
  249            $assignment->delete();
 
  260        switch (
$settings->getInitialTestType()) {
 
  278        switch (
$settings->getQualifyingTestType()) {
 
  297        if (
$form->checkInput()) {
 
  300            switch (
$settings->getInitialTestType()) {
 
  323            switch (
$settings->getQualifyingTestType()) {
 
  329                    $settings->setQualifyingTestAsStart(
false);
 
  335            $settings->setPassedObjectiveMode(
$form->getInput(
'passed_mode'));
 
  341                $settings->setQualifyingTestAsStart(
false);
 
  349            include_once 
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
 
  353            $this->ctrl->redirect($this, 
'settings');
 
  358        $form->setValuesByPost();
 
  367        include_once 
'./Services/Form/classes/class.ilPropertyFormGUI.php';
 
  369        $form->setFormAction($this->ctrl->getFormAction($this));
 
  370        $form->setTitle($this->lng->txt(
'crs_loc_settings_tbl'));
 
  373        $type_selector = 
new ilRadioGroupInputGUI($this->lng->txt(
'crs_loc_settings_it_type'), 
'ittype');
 
  374        $type_selector->setRequired(
true);
 
  375        $type_selector->setValue($this->
getSettings()->getInitialTestType());
 
  378        $type_ipa->setInfo($this->lng->txt(
'crs_loc_settings_type_it_placement_all_info'));
 
  379        $type_selector->addOption($type_ipa);
 
  381        $start_ip = 
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_it_start_object'), 
'start_ip');
 
  382        $start_ip->setValue(1);
 
  383        $start_ip->setChecked($this->
getSettings()->isInitialTestStart());
 
  384        $type_ipa->addSubItem($start_ip);
 
  387        $type_ips->setInfo($this->lng->txt(
'crs_loc_settings_type_it_placement_sel_info'));
 
  388        $type_selector->addOption($type_ips);
 
  391        $type_iqa->setInfo($this->lng->txt(
'crs_loc_settings_type_it_qualifying_all_info'));
 
  392        $type_selector->addOption($type_iqa);
 
  394        $start_iq = 
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_it_start_object'), 
'start_iq');
 
  395        $start_iq->setValue(1);
 
  396        $start_iq->setChecked($this->
getSettings()->isInitialTestStart());
 
  397        $type_iqa->addSubItem($start_iq);
 
  400        $type_iqs->setInfo($this->lng->txt(
'crs_loc_settings_type_it_qualifying_sel_info'));
 
  401        $type_selector->addOption($type_iqs);
 
  404        $type_ino->setInfo($this->lng->txt(
'crs_loc_settings_type_it_none_info'));
 
  405        $type_selector->addOption($type_ino);
 
  407        $form->addItem($type_selector);
 
  411        $qt_selector->setRequired(
true);
 
  412        $qt_selector->setValue($this->
getSettings()->getQualifyingTestType());
 
  415        $type_qa->setInfo($this->lng->txt(
'crs_loc_settings_type_q_all_info'));
 
  416        $qt_selector->addOption($type_qa);
 
  418        $start_q = 
new ilCheckboxInputGUI($this->lng->txt(
'crs_loc_settings_qt_start_object'), 
'start_q');
 
  419        $start_q->setValue(1);
 
  420        $start_q->setChecked($this->
getSettings()->isQualifyingTestStart());
 
  421        $type_qa->addSubItem($start_q);
 
  423        $passed_mode = 
new ilRadioGroupInputGUI($this->lng->txt(
'crs_loc_settings_passed_mode'), 
'passed_mode');
 
  424        $passed_mode->setValue($this->
getSettings()->getPassedObjectiveMode());
 
  426        $passed_mode->addOption(
 
  428                    $this->lng->txt(
'crs_loc_settings_passed_mode_hide'),
 
  432        $passed_mode->addOption(
 
  434                    $this->lng->txt(
'crs_loc_settings_passed_mode_mark'),
 
  438        $type_qa->addSubItem($passed_mode);
 
  441        $type_qs->setInfo($this->lng->txt(
'crs_loc_settings_type_q_selected_info'));
 
  442        $qt_selector->addOption($type_qs);
 
  444        $form->addItem($qt_selector);
 
  449        $reset->setChecked($this->
getSettings()->isResetResultsEnabled());
 
  450        $reset->setOptionTitle($this->lng->txt(
'crs_loc_settings_reset_enable'));
 
  451        $reset->setInfo($this->lng->txt(
'crs_loc_settings_reset_enable_info'));
 
  452        $form->addItem($reset);
 
  454        $form->addCommandButton(
'saveSettings', $this->lng->txt(
'save'));
 
  462        $GLOBALS[
'ilTabs']->activateSubTab(
'materials');
 
  464        include_once 
"Services/Object/classes/class.ilObjectAddNewItemGUI.php";
 
  466        $gui->setDisabledObjectTypes(array(
"itgr"));
 
  467        #$gui->setAfterCreationCallback($this->getParentObject()->getRefId()); 
  470        include_once 
'./Services/Object/classes/class.ilObjectTableGUI.php';
 
  479        $GLOBALS[
'tpl']->setContent($obj_table->getHTML());
 
  490        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  492        $GLOBALS[
'ilToolbar']->setFormAction($this->ctrl->getFormAction($this));
 
  494            $this->lng->txt(
'crs_loc_btn_new_assignment'),
 
  495            $this->ctrl->getLinkTarget($this, 
'testAssignment')
 
  502                $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
 
  506                $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
 
  511            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentTableGUI.php';
 
  520            $table->parseMultipleAssignments();
 
  529            $GLOBALS[
'ilLog']->write(__METHOD__ . 
': Show new assignment screen because of : ' . $ex->getMessage());
 
  541        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  546                $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
 
  550                $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
 
  556        if (!
$settings->getTestByType($this->getTestType())) {
 
  561            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentTableGUI.php';
 
  578            $GLOBALS[
'ilLog']->write(__METHOD__ . 
': Show new assignment screen because of : ' . $ex->getMessage());
 
  589        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  594                $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
 
  598                $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
 
  602        if (!(
int) $_REQUEST[
'tst']) {
 
  604            $this->ctrl->redirect($this, 
'testsOverview');
 
  607        include_once 
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
 
  609        $confirm->setHeaderText($this->lng->txt(
'crs_loc_confirm_delete_tst'));
 
  610        $confirm->setFormAction($this->ctrl->getFormAction($this));
 
  611        $confirm->setConfirm($this->lng->txt(
'crs_loc_delete_assignment'), 
'deleteTests');
 
  612        $confirm->setCancel($this->lng->txt(
'cancel'), 
'testsOverview');
 
  614        foreach ((array) $_REQUEST[
'tst'] as $assign_id) {
 
  615            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
 
  623        $GLOBALS[
'tpl']->setContent($confirm->getHTML());
 
  638        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  643                $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
 
  647                $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
 
  651        if (!(
int) $_REQUEST[
'tst']) {
 
  653            $this->ctrl->redirect($this, 
'testOverview');
 
  656        include_once 
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
 
  658        $confirm->setHeaderText($this->lng->txt(
'crs_loc_confirm_delete_tst'));
 
  659        $confirm->setFormAction($this->ctrl->getFormAction($this));
 
  660        $confirm->setConfirm($this->lng->txt(
'crs_loc_delete_assignment'), 
'deleteTest');
 
  661        $confirm->setCancel($this->lng->txt(
'cancel'), 
'testOverview');
 
  663        foreach ((array) $_REQUEST[
'tst'] as $tst_id) {
 
  668        $GLOBALS[
'tpl']->setContent($confirm->getHTML());
 
  683        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  688                $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
 
  692                $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
 
  696        foreach ((array) $_REQUEST[
'tst'] as $assign_id) {
 
  697            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
 
  699            $assignment->delete();
 
  702            include_once 
'./Services/Container/classes/class.ilContainerStartObjects.php';
 
  707            $start->deleteItem($assignment->getTestRefId());
 
  710            include_once 
'./Modules/Course/classes/class.ilCourseObjectiveQuestion.php';
 
  716        $this->ctrl->redirect($this, 
'testsOverview');
 
  725        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  730                $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
 
  734                $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
 
  738        foreach ((array) $_REQUEST[
'tst'] as $tst_id) {
 
  751            include_once 
'./Services/Container/classes/class.ilContainerStartObjects.php';
 
  756            $start->deleteItem($tst_id);
 
  759            include_once 
'./Modules/Course/classes/class.ilCourseObjectiveQuestion.php';
 
  765        $this->ctrl->redirect($this, 
'testOverview');
 
  774        $this->ctrl->setParameter($this, 
'tt', $this->
getTestType());
 
  778                $GLOBALS[
'ilTabs']->activateSubTab(
'itests');
 
  782                $GLOBALS[
'ilTabs']->activateSubTab(
'qtests');
 
  786            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
 
  788            $form = $form_helper->initForm(
true);
 
  805        $this->ctrl->setParameter($this, 
'tt', (
int) $_REQUEST[
'tt']);
 
  808                $GLOBALS[
'ilTabs']->activateSubTab(
'itest');
 
  812                $GLOBALS[
'ilTabs']->activateSubTab(
'qtest');
 
  817            include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
 
  819            $form = $form_helper->initForm(
false);
 
  836        include_once 
"Services/Administration/classes/class.ilSettingsTemplate.php";
 
  837        include_once 
'./Modules/Test/classes/class.ilObjAssessmentFolderGUI.php';
 
  843                    if (
$template[
'title'] == self::SETTINGS_TEMPLATE_IT) {
 
  848                    if (
$template[
'title'] == self::SETTINGS_TEMPLATE_QT) {
 
  862        include_once 
"Services/Administration/classes/class.ilSettingsTemplate.php";
 
  863        include_once 
'./Modules/Test/classes/class.ilObjAssessmentFolderGUI.php';
 
  865        $template_settings = 
$template->getSettings();
 
  866        if ($template_settings) {
 
  867            include_once 
'./Modules/Test/classes/class.ilObjTestGUI.php';
 
  869            $tst_gui->applyTemplate($template_settings, $tst);
 
  881        include_once 
'./Services/Container/classes/class.ilContainerStartObjects.php';
 
  889        $this->ctrl->setParameter($this, 
'tt', (
int) $_REQUEST[
'tt']);
 
  894        include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
 
  896        $form = $form_helper->initForm(
true);
 
  898        if (
$form->checkInput()) {
 
  899            $mode = 
$form->getInput(
'mode');
 
  901            if ($mode == self::TEST_NEW) {
 
  903                $tst->setType(
'tst');
 
  904                $tst->setTitle(
$form->getInput(
'title'));
 
  905                $tst->setDescription(
$form->getInput(
'desc'));
 
  907                $tst->createReference();
 
  914                $tst->setQuestionSetType(
$form->getInput(
'qtype'));
 
  918                include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
 
  921                $assignment->setAssignmentType($this->
getTestType());
 
  922                $assignment->setObjectiveId(
$form->getInput(
'objective'));
 
  923                $assignment->setTestRefId($tst->getRefId());
 
  926                include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignment.php';
 
  929                $assignment->setAssignmentType($this->
getTestType());
 
  930                $assignment->setObjectiveId(
$form->getInput(
'objective'));
 
  931                $assignment->setTestRefId(
$form->getInput(
'tst'));
 
  946            $this->ctrl->redirect($this, 
'testsOverview');
 
  951        $form->setValuesByPost();
 
  960        include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
  962            include_once 
'./Modules/Course/classes/class.ilCourseObjectiveMaterials.php';
 
  964            foreach ($materials->getMaterials() as 
$key => $material) {
 
  965                if ($material[
'ref_id'] == 
$test->getRefId()) {
 
  966                    $materials->delete($material[
'lm_ass_id']);
 
  977        $this->ctrl->setParameter($this, 
'tt', (
int) $_REQUEST[
'tt']);
 
  982        include_once 
'./Modules/Course/classes/Objectives/class.ilLOTestAssignmentForm.php';
 
  984        $form = $form_helper->initForm(
false);
 
  986        if (
$form->checkInput()) {
 
  987            $mode = 
$form->getInput(
'mode');
 
  989            if ($mode == self::TEST_NEW) {
 
  991                $tst->setType(
'tst');
 
  992                $tst->setTitle(
$form->getInput(
'title'));
 
  993                $tst->setDescription(
$form->getInput(
'desc'));
 
  995                $tst->createReference();
 
 1002                $tst->setQuestionSetType(
$form->getInput(
'qtype'));
 
 1007                    $this->
getSettings()->setInitialTest($tst->getRefId());
 
 1009                    $this->
getSettings()->setQualifiedTest($tst->getRefId());
 
 1032            $this->ctrl->redirect($this, 
'testOverview');
 
 1037        $form->setValuesByPost();
 
 1048        include_once 
'./Modules/Course/classes/class.ilCourseObjectivesGUI.php';
 
 1052        $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
 
 1059        if (!count($objectives)) {
 
 1063        $ilToolbar->addButton(
 
 1064            $this->lng->txt(
'crs_add_objective'),
 
 1065            $this->ctrl->getLinkTargetByClass(
'ilcourseobjectivesgui', 
"create")
 
 1068        include_once(
'./Modules/Course/classes/class.ilCourseObjectivesTableGUI.php');
 
 1070        $table->setTitle($this->lng->txt(
'crs_objectives'), 
'', $this->lng->txt(
'crs_objectives'));
 
 1071        $table->parse($objectives);
 
 1083        $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
 
 1099        include_once 
'./Services/Form/classes/class.ilPropertyFormGUI.php';
 
 1101        $form->setTitle($this->lng->txt(
'crs_loc_form_create_objectives'));
 
 1102        $form->setFormAction($this->ctrl->getFormAction($this));
 
 1105        $txt->setValues(array(0 => 
''));
 
 1106        $txt->setRequired(
true);
 
 1109        $form->addCommandButton(
'saveObjectiveCreation', $this->lng->txt(
'save'));
 
 1117        if (
$form->checkInput()) {
 
 1118            foreach ((array) 
$form->getInput(
'objectives') as $idx => 
$title) {
 
 1119                include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1121                $obj->setActive(
true);
 
 1126            $this->ctrl->redirect($this, 
'');
 
 1129        $form->setValuesByPost();
 
 1130        $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
 
 1143        global $ilAccess,
$ilErr,$ilObjDataCache;
 
 1145        asort(
$_POST[
'position'], SORT_NUMERIC);
 
 1148        foreach (
$_POST[
'position'] as $objective_id => $position) {
 
 1149            include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1151            $objective->writePosition(
$counter++);
 
 1162        $GLOBALS[
'ilTabs']->activateSubTab(
'objectives');
 
 1164        include_once 
'./Services/Utilities/classes/class.ilConfirmationGUI.php';
 
 1166        $confirm->setFormAction($this->ctrl->getFormAction($this));
 
 1167        $confirm->setHeaderText($this->lng->txt(
'crs_delete_objectve_sure'));
 
 1168        $confirm->setConfirm($this->lng->txt(
'delete'), 
'deleteObjectives');
 
 1169        $confirm->setCancel($this->lng->txt(
'cancel'), 
'listObjectives');
 
 1171        foreach (
$_POST[
'objective'] as $objective_id) {
 
 1172            include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1174            $name = $obj->getTitle();
 
 1182        $GLOBALS[
'tpl']->setContent($confirm->getHTML());
 
 1191        $enabled = (array) $_REQUEST[
'objective'];
 
 1193        include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1195        foreach ((array) $objectives as $objective_id) {
 
 1197            if (in_array($objective_id, $enabled)) {
 
 1198                $objective->setActive(
true);
 
 1199                $objective->update();
 
 1203        include_once 
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
 
 1207        $this->ctrl->redirect($this, 
'listObjectives');
 
 1215        $disabled = (array) $_REQUEST[
'objective'];
 
 1217        include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1219        foreach ((array) $objectives as $objective_id) {
 
 1221            if (in_array($objective_id, $disabled)) {
 
 1222                $objective->setActive(
false);
 
 1223                $objective->update();
 
 1227        include_once 
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
 
 1231        $this->ctrl->redirect($this, 
'listObjectives');
 
 1243        foreach (
$_POST[
'objective_ids'] as $objective_id) {
 
 1244            include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
 1246            $objective_obj->delete();
 
 1249        include_once 
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
 
 1253        $this->ctrl->redirect($this, 
'listObjectives');
 
 1263        include_once 
'./Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
 
 1265        $status->setSection($a_section);
 
 1266        $status->setCmdClass($this);
 
 1267        $GLOBALS[
'tpl']->setRightContent($status->getHTML());
 
 1281            $this->lng->txt(
'settings'),
 
 1282            $this->ctrl->getLinkTarget($this, 
'settings')
 
 1287            $this->lng->txt(
'crs_loc_tab_objectives'),
 
 1288            $this->ctrl->getLinkTarget($this, 
'listObjectives')
 
 1300        if (
$settings->worksWithInitialTest()) {
 
 1308                    $this->lng->txt(
'crs_loc_tab_itest'),
 
 1309                    $this->ctrl->getLinkTarget($this, 
'testOverview')
 
 1315                    $this->lng->txt(
'crs_loc_tab_itests'),
 
 1316                    $this->ctrl->getLinkTarget($this, 
'testsOverview')
 
 1325                $this->lng->txt(
'crs_loc_tab_qtest'),
 
 1326                $this->ctrl->getLinkTarget($this, 
'testOverview')
 
 1332                $this->lng->txt(
'crs_loc_tab_qtests'),
 
 1333                $this->ctrl->getLinkTarget($this, 
'testsOverview')
 
 1337        if (
$settings->worksWithStartObjects()) {
 
 1340                $this->lng->txt(
'crs_loc_tab_start'),
 
 1341                $this->ctrl->getLinkTargetByClass(
'ilcontainerstartobjectsgui', 
'')
 
 1346        #include_once './Services/Container/classes/class.ilMemberViewGUI.php'; 
 1347        #ilMemberViewGUI::showMemberViewSwitch($this->getParentObject()->getRefId()); 
An exception for terminatinating execution or to throw for unit testing.
class ilConditionHandlerGUI
Confirmation screen class.
Class ilContainerStartObjectsGUI.
class ilCourseObjectiveMaterials
static deleteTest($a_tst_ref_id)
static lookupObjectiveTitle($a_objective_id, $a_add_description=false)
static _getObjectiveIds($course_id, $a_activated_only=false)
class ilobjcourseobjectivesgui
saveSorting()
save position
testOverview()
Show test overview.
deleteTest()
Delete test assignment.
const SETTINGS_TEMPLATE_IT
updateTestAssignments(ilLOSettings $settings)
Update Test assignments.
deleteTests()
Delete test assignments.
saveMultiTestAssignment()
updateStartObjects()
Add Test as start object.
askDeleteObjectives()
Confirm delete objectives.
deleteAssignments($a_type)
Delete assignments.
listObjectives()
List all abvailable objectives.
initSimpleObjectiveForm()
Show objective creation form.
testSettings(ilPropertyFormGUI $form=null)
Show test settings.
showStatus($a_section)
Show status panel.
executeCommand()
Execute command.
initSettingsForm()
Init settings form.
showObjectiveCreation(ilPropertyFormGUI $form=null)
Show objective creation form.
confirmDeleteTests()
Show delete test confirmation.
deactivateObjectives()
activate chosen objectives
activateObjectives()
activate chosen objectives
testsOverview()
View test assignments ()
updateMaterialAssignments(ilObjTest $test)
settings(ilPropertyFormGUI $form=null)
Objective Settings.
returnFromObjectives()
Return from objectives.
setTabs($a_section='')
Set tabs.
confirmDeleteTest()
Show delete confirmation screen.
testAssignment(ilPropertyFormGUI $form=null)
new test assignment
__construct($a_parent_obj)
Constructor.
deleteObjectives()
Delete objectives @global type $rbacsystem.
const SETTINGS_TEMPLATE_QT
applySettingsTemplate(ilObjTest $tst)
Apply auto generated setttings template.
Presentation of the status of single steps during the configuration process.
const SECTION_OBJECTIVES_NEW
static getInstance(ilObject $a_parent)
Get instance.
Class ilLOInvalidConfigurationException.
(Course) learning objective page GUI class
(Course) learning objective page object
const TYPE_INITIAL_QUALIFYING_ALL
const TYPE_TEST_QUALIFIED
const TYPE_INITIAL_PLACEMENT_SELECTED
const HIDE_PASSED_OBJECTIVE_QST
const TYPE_QUALIFYING_ALL
const TYPE_INITIAL_PLACEMENT_ALL
const MARK_PASSED_OBJECTIVE_QST
setInitialTest($a_id)
set initial test id
const TYPE_QUALIFYING_SELECTED
const TYPE_INITIAL_QUALIFYING_SELECTED
static getInstanceByObjId($a_obj_id)
get singleton instance
setQualifiedTest($a_id)
set qualified test
Class ilLOTestAssignmentTableGUI.
const TYPE_MULTIPLE_ASSIGNMENTS
static getInstance($a_container_id)
Get instance by container id.
static _refreshStatus($a_obj_id, $a_users=null)
Set dirty.
static getLogger($a_component_id)
Get component logger.
static getSettingsTemplateConfig()
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
static getContentStylePath($a_style_id, $add_random=true)
get content style path
setTemplate($template_id)
Render add new item selector.
static _lookupObjId($a_id)
static _lookupTitle($a_id)
lookup object title
static _exists($a_parent_type, $a_id, $a_lang="", $a_no_cache=false)
Checks whether page exists.
This class represents an option in a radio group.
Settings template application class.
static getAllSettingsTemplates($a_type, $a_include_auto_generated=false)
Get all settings templates of type.
This class represents a text wizard property in a property form.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
if(empty($password)) $table
if(isset($_POST['submit'])) $form