5 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
33 $this->copy_enabled =
true;
34 $this->delete_enabled =
true;
35 $this->cut_enabled =
true;
36 $this->subscribe_enabled =
true;
37 $this->link_enabled =
true;
38 $this->payment_enabled =
true;
39 $this->info_screen_enabled =
true;
41 $this->gui_class_name =
"ilobjsahslearningmodulegui";
44 include_once(
'./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php');
65 require_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php";
68 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id;
72 $cmd_link =
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=".$this->ref_id;
77 $cmd_link =
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=".$this->ref_id.
"&cmd=editContent";
81 $cmd_link =
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=".$this->ref_id;
85 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
86 "&cmd=infoScreen";
90 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
91 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
92 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
114 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
115 require_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
124 $frame =
"ilContObj".$this->obj_id;
126 if ($sahs_obj->getEditable() == 1)
160 global
$lng, $rbacsystem;
164 include_once(
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php");
170 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
171 "value" => $lng->txt(
"offline"));
175 $props[] = array(
"alert" =>
true,
176 "value" => $lng->txt(
"authoring_mode"));
179 if ($rbacsystem->checkAccess(
"write", $this->ref_id))
181 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"type"),
182 "value" => $lng->txt(
"sahs"));
188 include_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
193 $lng->loadLanguageModule(
'certificate');
194 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
195 "&cmd=downloadCertificate";
196 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"condition_finished"),
197 "value" =>
'<a href="' . $cmd_link .
'">' . $lng->txt(
"download_certificate") .
'</a>');
200 $lng->loadLanguageModule(
'certificate');
201 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
202 "&cmd=downloadCertificate";
203 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"condition_finished"),
204 "value" =>
'<a href="' . $cmd_link .
'">' . $lng->txt(
"download_certificate") .
'</a>');