5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
40 $this->ctrl = $DIC->ctrl();
41 $this->lng = $DIC->language();
42 $this->tpl = $DIC[
"tpl"];
44 parent::__construct($a_parent_obj, $a_parent_cmd);
47 $this->
setTitle($this->lng->txt(
""));
49 $this->
addColumn($this->lng->txt(
"user_action"));
50 $this->
addColumn($this->lng->txt(
"active"),
"",
"1");
52 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
53 $this->
setRowTemplate(
"tpl.user_action_admin_row.html",
"Services/User/Actions");
66 $this->tpl->touchBlock(
"checked");
68 $this->tpl->setVariable(
"VAL", $a_set[
"action_type_name"]);
69 $this->tpl->setVariable(
"ACTION_ID", $a_set[
"action_comp_id"].
":".$a_set[
"action_type_id"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
fillRow($a_set)
Fill table row.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
__construct($a_parent_obj, $a_parent_cmd, $a_data)
Constructor.
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.
TableGUI class for user action administration.