protected function modifyTrackingItems()
 {
     include_once './Services/PrivacySecurity/classes/class.ilPrivacySettings.php';
     $privacy = ilPrivacySettings::_getInstance();
     if (!$privacy->enabledSahsProtocolData()) {
         $this->ilias->raiseError($this->lng->txt('permission_denied'), $this->ilias->error_obj->MESSAGE);
     }
     global $ilTabs, $ilToolbar;
     include_once './Services/UIComponent/Toolbar/classes/class.ilToolbarGUI.php';
     $ilToolbar->addButton($this->lng->txt('import'), $this->ctrl->getLinkTarget($this, 'importForm'));
     $ilToolbar->addButton($this->lng->txt('cont_export_all'), $this->ctrl->getLinkTarget($this, 'exportAll'));
     ilObjSCORMLearningModuleGUI::setSubTabs();
     $ilTabs->setTabActive('cont_tracking_data');
     $ilTabs->setSubTabActive('cont_tracking_modify');
     include_once './Modules/ScormAicc/classes/class.ilSCORMTrackingUsersTableGUI.php';
     $tbl = new ilSCORMTrackingUsersTableGUI($this->object->getId(), $this, 'modifytrackingItems');
     $tbl->parse();
     $this->tpl->setContent($tbl->getHTML());
 }
 /**
  * Adds tabs to tab gui object
  *
  * @param	object		$tabs_gui		ilTabsGUI object
  */
 function getTabs(&$tabs_gui)
 {
     global $ilAccess, $ilHelp;
     if ($this->ctrl->getCmd() == "delete") {
         return;
     }
     if (!$this->object->getEditable()) {
         return parent::getTabs($tabs_gui);
     }
     $ilHelp->setScreenIdComponent("sahsed");
     // organization
     $tabs_gui->addTarget("sahs_organization", $this->ctrl->getLinkTarget($this, "showOrganization"), "showOrganization", get_class($this));
     // info screen
     $force_active = $this->ctrl->getNextClass() == "ilinfoscreengui" ? true : false;
     $tabs_gui->addTarget("info_short", $this->ctrl->getLinkTargetByClass("ilinfoscreengui", "showSummary"), "", "ilinfoscreengui", "", $force_active);
     // settings
     $tabs_gui->addTarget("settings", $this->ctrl->getLinkTarget($this, "properties"), "properties", get_class($this));
     // tracking data
     /*	Later, only if tracking data exists
     		 $tabs_gui->addTarget("cont_tracking_data",
     			$this->ctrl->getLinkTarget($this, "showTrackingItems"), "showTrackingItems",
     			get_class($this));
     			*/
     // objective alignment
     $tabs_gui->addTarget("sahs_objectives_alignment", $this->ctrl->getLinkTarget($this, "showLearningObjectivesAlignment"), "showLearningObjectivesAlignment", get_class($this));
     // sequencing
     $tabs_gui->addTarget("sahs_sequencing", $this->ctrl->getLinkTarget($this, "showSequencing"), "showSequencing", get_class($this));
     // learning progress
     /*	Later, only if tracking data exists
     		 include_once("Services/Tracking/classes/class.ilObjUserTracking.php");
     		 if(ilObjUserTracking::_enabledLearningProgress())
     		 {
     			$tabs_gui->addTarget('learning_progress',
     			$this->ctrl->getLinkTargetByClass(array('illearningprogressgui'),''),
     			'',
     			array('illplistofobjectsgui','illplistofsettingsgui','illearningprogressgui','illplistofprogressgui'));
     			}
     			*/
     // edit meta
     $tabs_gui->addTarget("meta_data", $this->ctrl->getLinkTargetByClass('ilmdeditorgui', ''), "", "ilmdeditorgui");
     // export
     $tabs_gui->addTarget("export", $this->ctrl->getLinkTarget($this, "showExportList"), array("showExportList", 'confirmDeleteExportFile'), get_class($this));
     // perm
     if ($ilAccess->checkAccess('edit_permission', '', $this->object->getRefId())) {
         $tabs_gui->addTarget("perm_settings", $this->ctrl->getLinkTargetByClass(array(get_class($this), 'ilpermissiongui'), "perm"), array("perm", "info", "owner"), 'ilpermissiongui');
     }
     if ($this->object->editable == 1) {
         // preview
         $tabs_gui->addNonTabbedLink("preview", $this->lng->txt("cont_sc_preview"), $this->ctrl->getLinkTarget($this, "preview"), "_blank");
     }
 }
 /**
  * show tracking data
  */
 function showTrackingItem()
 {
     parent::showTrackingItem();
 }