5 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
24 $this->static_link_enabled =
true;
25 $this->delete_enabled =
true;
26 $this->cut_enabled =
true;
27 $this->copy_enabled =
true;
28 $this->subscribe_enabled =
true;
29 $this->link_enabled =
true;
30 $this->info_screen_enabled =
true;
32 $this->gui_class_name =
"ilobjlearningmodulegui";
35 include_once(
'./Modules/LearningModule/classes/class.ilObjLearningModuleAccess.php');
41 $this->child_id = $a_child_id;
45 return $this->child_id;
63 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=" . $this->ref_id .
69 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=" . $this->ref_id .
74 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=" .
$this->ref_id;
78 $cmd_link =
"ilias.php?baseClass=ilLMEditorGUI&ref_id=" .
$this->ref_id;
82 $cmd_link =
"ilias.php?baseClass=ilLMEditorGUI&ref_id=" . $this->ref_id .
"&to_props=1";
86 $cmd_link =
"ilias.php?baseClass=ilLMPresentationGUI&ref_id=" . $this->ref_id .
87 "&cmd=infoScreen&file_id" . $this->
getChildId();
91 $cmd_link =
'ilias.php?baseClass=ilLMPresentationGUI&ref_id=' . $this->ref_id .
92 '&cmd=downloadFile&file_id=' . $this->
getChildId();
96 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
97 $cmd_link =
$ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
98 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
151 $rbacsystem = $this->rbacsystem;
153 $props = parent::getProperties();
155 if ($rbacsystem->checkAccess(
'write', $this->ref_id)) {
156 $props[] = array(
"alert" =>
false,
"property" =>
$lng->txt(
"type"),
157 "value" =>
$lng->txt(
"lm"));
getCommandFrame($a_cmd)
Get command target frame.
Class ilObjLearningModuleListGUI.
getProperties()
Get item properties.
getCommandImage($a_cmd)
Get command icon image.
static _getCommands()
get commands
getCommandLink($a_cmd)
Overwrite this method, if link target is not build by ctrl class (e.g.