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 =
93 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id.
94 "&obj_ud=".$this->last_accessed_page;
98 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id;
102 $cmd_link =
"ilias.php?baseClass=ilLMEditorGUI&ref_id=".$this->ref_id;
106 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=".$this->ref_id.
107 "&cmd=infoScreen";
112 $cmd_link =
"repository.php?ref_id=".$this->ref_id.
"&cmd=$a_cmd";
135 $showViewInFrameset =
true;
137 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
174 global
$lng, $rbacsystem;
178 include_once(
"./Modules/LearningModule/classes/class.ilObjDlBookAccess.php");
182 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
183 "value" => $lng->txt(
"offline"));
186 if ($rbacsystem->checkAccess(
"write", $this->ref_id))
188 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"type"),
189 "value" => $lng->txt(
"dbk"));