/** * List Services */ public function listSlots() { if (!DEVMODE) { $this->ctrl->redirect($this, "listPlugins"); } $this->tabs_gui->activateTab('slots'); include_once "./Services/Component/classes/class.ilComponentsTableGUI.php"; $comp_table = new ilComponentsTableGUI($this, "listSlots"); $this->tpl->setContent($comp_table->getHTML()); }
/** * List Services */ public function listServices() { global $ilCtrl, $lng, $ilSetting; $this->tabs_gui->activateTab('services'); $tpl = new ilTemplate("tpl.component_list.html", true, true, "Services/Component"); $ilCtrl->setParameter($this, "mode", IL_COMP_SERVICE); $tpl->setVariable("HREF_REFRESH_PLUGINS_INFORMATION", $ilCtrl->getLinkTarget($this, "refreshPluginsInformation")); $tpl->setVariable("TXT_REFRESH_PLUGINS_INFORMATION", $lng->txt("cmps_refresh_plugins_inf")); include_once "./Services/Component/classes/class.ilComponentsTableGUI.php"; $comp_table = new ilComponentsTableGUI($this, "listServices", IL_COMP_SERVICE); $tpl->setVariable("TABLE", $comp_table->getHTML()); $this->tpl->setContent($tpl->get()); }