24 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
52 $this->copy_enabled =
false;
53 $this->delete_enabled =
true;
54 $this->cut_enabled =
true;
55 $this->subscribe_enabled =
true;
56 $this->link_enabled =
true;
57 $this->payment_enabled =
true;
59 $this->gui_class_name =
"ilobjdlbookgui";
60 $this->info_screen_enabled =
true;
63 include_once(
'./Modules/LearningModule/classes/class.ilObjDlBookAccess.php');
64 $this->commands = ilObjDLBookAccess::_getCommands();
67 function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
73 include_once(
"./Modules/LearningModule/classes/class.ilObjLearningModuleAccess.php");
74 $this->last_accessed_page =
95 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id.
96 "&obj_ud=".$this->last_accessed_page;
100 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id;
104 $cmd_link =
"ilias.php?baseClass=ilLMEditorGUI&ref_id=".$this->ref_id;
108 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id.
109 "&cmd=infoScreen";
114 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
115 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
116 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
139 $showViewInFrameset =
true;
141 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
178 global
$lng, $rbacsystem;
182 include_once(
"./Modules/LearningModule/classes/class.ilObjDlBookAccess.php");
186 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
187 "value" => $lng->txt(
"offline"));
190 if ($rbacsystem->checkAccess(
"write", $this->ref_id))
192 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"type"),
193 "value" => $lng->txt(
"dbk"));