4 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
5 include_once(
"Services/Component/classes/class.ilComponent.php");
18 public function __construct($a_parent_obj, $a_parent_cmd =
"")
22 $lng = $DIC->language();
24 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setId(
"cmpstblslt");
30 $this->
addColumn(
$lng->txt(
"cmps_service") .
" / " .
$lng->txt(
"cmps_module"),
"subdir");
42 "tpl.table_row_component.html",
56 include_once(
"./Services/Component/classes/class.ilService.php");
60 "subdir" => $obj[
"subdir"],
62 "name" => $slot[
"name"],
63 "dir" => $slot[
"dir_pres"],
64 "lang" => $slot[
"lang_prefix"],
70 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"],
94 $lng = $DIC->language();
97 $this->tpl->setVariable(
"SLOT_NAME", $a_set[
"name"]);
98 $this->tpl->setVariable(
"SLOT_ID", $a_set[
"id"]);
99 $this->tpl->setVariable(
"SLOT_DIR", $a_set[
"dir"]);
100 $this->tpl->setVariable(
"LANG_PREFIX", $a_set[
"lang"]);
102 $ilCtrl->setParameter($this->parent_obj,
"ctype", $a_set[
"ctype"]);
103 $ilCtrl->setParameter($this->parent_obj,
"cname", $a_set[
"subdir"]);
104 $ilCtrl->setParameter($this->parent_obj,
"slot_id", $a_set[
"id"]);
105 $this->tpl->setVariable(
107 $ilCtrl->getLinkTarget($this->parent_obj,
"showPluginSlotInfo")
109 $this->tpl->setVariable(
"TXT_SHOW_SLOT",
$lng->txt(
"cmps_show_details"));
111 $this->tpl->setVariable(
"TXT_MODULE_NAME", $a_set[
"subdir"]);
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
__construct($a_parent_obj, $a_parent_cmd="")
getComponents()
Get pages for list.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Standard Version of Fill Row.
static getAvailableCoreServices()
Get all available core services.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
TableGUI class for components listing.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setEnableHeader($a_enableheader)
Set Enable Header.
setLimit($a_limit=0, $a_default_limit=0)
static getAvailableCoreModules()
Get all available core modules.
static lookupPluginSlots($a_type, $a_name)
Lookup all plugin slots of a component.