4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
26 parent::__construct($a_parent_obj, $a_parent_cmd);
28 include_once(
"./Services/Administration/classes/class.ilSettingsTemplate.php");
30 $this->
setTitle($lng->txt(
"adm_settings_templates").
" - ".
34 $this->
addColumn($this->lng->txt(
"title"),
"title");
35 $this->
addColumn($this->lng->txt(
"description"));
36 $this->
addColumn($this->lng->txt(
"actions"));
40 "Services/Administration");
42 $this->
addMultiCommand(
"confirmSettingsTemplateDeletion", $lng->txt(
"delete"));
53 $ilCtrl->setParameter($this->parent_obj,
"templ_id", $a_set[
"id"]);
54 $this->tpl->setVariable(
"VAL_ID", $a_set[
"id"]);
59 $this->tpl->setVariable(
"TXT_EDIT", $lng->txt(
"edit"));
60 $this->tpl->setVariable(
"HREF_EDIT",
61 $ilCtrl->getLinkTarget($this->parent_obj,
"editSettingsTemplate"));
62 $ilCtrl->setParameter($this->parent_obj,
"templ_id",
"");
static getAllSettingsTemplates($a_type, $a_include_auto_generated=false)
Get all settings templates of type.
fillRow($a_set)
Fill table row.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static translate($a_title_desc)
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
Settings templates table.
__construct($a_parent_obj, $a_parent_cmd, $a_type)
Constructor.
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.