5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 public function __construct($a_parent_obj, $a_parent_cmd, $skin_id, $style_id, $sub_style_id)
29 parent::__construct($a_parent_obj, $a_parent_cmd);
31 $this->skin_id = $skin_id;
32 $this->style_id = $style_id;
33 $this->sub_style_id = $sub_style_id;
37 $this->
setTitle($lng->txt(
"sty_cat_assignments"));
40 $this->
addColumn($this->lng->txt(
"obj_cat"));
43 $this->
setRowTemplate(
"tpl.sty_cat_ass_row.html",
"Services/Style/System");
45 $this->
addMultiCommand(
"deleteAssignments", $lng->txt(
"remove_assignment"));
60 $this->tpl->setVariable(
"REF_ID", $a_set[
"ref_id"]);
61 $this->tpl->setVariable(
static getSubStyleCategoryAssignments($a_skin_id, $a_style_id, $a_sub_style_id)
Get all system category assignments of exactly one substyle.
static _lookupTitle($a_id)
lookup object title
TableGUI class for system style to category assignments.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static _lookupObjId($a_id)
addMultiCommand($a_cmd, $a_text)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd, $skin_id, $style_id, $sub_style_id)
ilSysStyleCatAssignmentTableGUI constructor.
fillRow($a_set)
Fill table row.
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.