4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 $this->
setId(
"ilcatluaar");
27 parent::__construct($a_parent_obj, $a_parent_cmd);
30 $this->
addColumn($lng->txt(
"title"),
"title",
"35%");
31 $this->
addColumn($lng->txt(
"description"),
"desc",
"45%");
32 $this->
addColumn($lng->txt(
"type"),
"type",
"16%");
36 $ilCtrl->saveParameter($a_parent_obj,
'obj_id');
37 $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
38 $this->
setRowTemplate(
"tpl.cat_role_assignment.html",
"Modules/Category");
49 $this->tpl->setVariable(
"INPUT_CHCKBX", $a_set[
"checkbox"]);
50 $this->tpl->setVariable(
"TXT_TITLE", $a_set[
"title"]);
51 $this->tpl->setVariable(
"TXT_DESCRIPTION", $a_set[
"desc"]);
52 $this->tpl->setVariable(
"TXT_TYPE", $a_set[
"type"]);
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
TableGUI class for role assignments.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
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.
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
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.
setLimit($a_limit=0, $a_default_limit=0)