2 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
23 parent::__construct($a_parent_obj, $a_parent_cmd);
25 $this->
setId(
"adopt_permission_".$a_parent_obj->obj_id);
27 $this->
addColumn($lng->txt(
"title"),
"title",
"70%");
28 $this->
addColumn($lng->txt(
"type"),
"type",
"30%");
32 "Services/AccessControl");
45 $this->tpl->setVariable(
"PARAM",
"adopt");
46 $this->tpl->setVariable(
"VAL_ID", $a_set[
"role_id"]);
47 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"role_name"]);
48 if(strlen($a_set[
"role_desc"]))
50 $this->tpl->setVariable(
"VAL_DESCRIPTION", $a_set[
"role_desc"]);
52 $this->tpl->setVariable(
"VAL_TYPE", $a_set[
"type"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE Date: 07.01.15 Time: 11:43.
__construct($a_parent_obj, $a_parent_cmd)
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
fillRow($a_set)
Fill a single data row.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setEnableHeader($a_enableheader)
Set Enable Header.
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)