4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
34 $this->ctrl = $DIC->ctrl();
35 $this->lng = $DIC->language();
36 $this->access = $DIC->access();
38 $lng = $DIC->language();
39 $ilAccess = $DIC->access();
40 $lng = $DIC->language();
44 parent::__construct($a_parent_obj, $a_parent_cmd);
46 include_once(
"./Services/Administration/classes/class.ilSettingsTemplate.php");
48 $this->
setTitle(
$lng->txt(
"adm_settings_templates") .
" - " .
52 $this->
addColumn($this->lng->txt(
"title"),
"title");
53 $this->
addColumn($this->lng->txt(
"description"));
54 $this->
addColumn($this->lng->txt(
"actions"));
58 "tpl.settings_template_row.html",
59 "Services/Administration" 74 $ilCtrl->setParameter($this->parent_obj,
"templ_id", $a_set[
"id"]);
75 $this->tpl->setVariable(
"VAL_ID", $a_set[
"id"]);
80 $this->tpl->setVariable(
"TXT_EDIT",
$lng->txt(
"edit"));
81 $this->tpl->setVariable(
83 $ilCtrl->getLinkTarget($this->parent_obj,
"editSettingsTemplate")
85 $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.
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.
Settings templates table.
__construct($a_parent_obj, $a_parent_cmd, $a_type)
Constructor.