4 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
5 include_once(
"Services/Component/classes/class.ilComponent.php");
24 $this->
setId(
"cmpstblslt");
26 $this->
setTitle($lng->txt(
"cmps_slots"));
28 $this->
addColumn($lng->txt(
"cmps_service").
" / ".$lng->txt(
"cmps_module"),
"subdir");
29 $this->
addColumn($lng->txt(
"cmps_plugin_slot"),
"name");
30 $this->
addColumn($lng->txt(
"cmps_dir"),
"dir");
31 $this->
addColumn($lng->txt(
"cmps_lang_prefix"),
"lang");
32 $this->
addColumn($lng->txt(
"action"),
"lang");
40 "Services/Component");
52 include_once(
"./Services/Component/classes/class.ilService.php");
58 "subdir" => $obj[
"subdir"],
60 "name" => $slot[
"name"],
61 "dir" => $slot[
"dir_pres"],
62 "lang" => $slot[
"lang_prefix"],
68 include_once(
"./Services/Component/classes/class.ilModule.php");
74 "subdir" => $obj[
"subdir"],
76 "name" => $slot[
"name"],
77 "dir" => $slot[
"dir_pres"],
78 "lang" => $slot[
"lang_prefix"],
95 $this->tpl->setVariable(
"SLOT_NAME", $a_set[
"name"]);
96 $this->tpl->setVariable(
"SLOT_ID", $a_set[
"id"]);
97 $this->tpl->setVariable(
"SLOT_DIR", $a_set[
"dir"]);
98 $this->tpl->setVariable(
"LANG_PREFIX", $a_set[
"lang"]);
100 $ilCtrl->setParameter($this->parent_obj,
"ctype", $a_set[
"ctype"]);
101 $ilCtrl->setParameter($this->parent_obj,
"cname", $a_set[
"subdir"]);
102 $ilCtrl->setParameter($this->parent_obj,
"slot_id", $a_set[
"id"]);
103 $this->tpl->setVariable(
"HREF_SHOW_SLOT",
104 $ilCtrl->getLinkTarget($this->parent_obj,
"showPluginSlotInfo"));
105 $this->tpl->setVariable(
"TXT_SHOW_SLOT", $lng->txt(
"cmps_show_details"));
107 $this->tpl->setVariable(
"TXT_MODULE_NAME", $a_set[
"subdir"]);