2 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
24 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setId(
'accessperm' . $this->parent_obj->user->getId());
31 $this->
setRowTemplate(
"tpl.access_permissions_status_row.html",
"Services/AccessControl");
35 $this->
addColumn(
$lng->txt(
"info_from_role"),
"role_ownership");
49 $img_info =
$lng->txt(
"info_assigned");
52 $img_info =
$lng->txt(
"info_not_assigned");
54 $this->tpl->setVariable(
"IMG_PATH", $img_path);
55 $this->tpl->setVariable(
"IMG_INFO", $img_info);
57 $this->tpl->setVariable(
"TXT_OPERATION", $a_set[
"operation"]);
59 foreach ($a_set[
"role_ownership"] as $role_ownership) {
60 $this->tpl->setCurrentBlock(
"role_ownership");
61 $this->tpl->setVariable(
"TXT_ROLE_OWNERSHIP", $role_ownership);
62 $this->tpl->parseCurrentBlock();
Table for Acces Permissons in Permission > Permission of User.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
setRowTemplate($a_template, $a_template_dir="")
Set row template.
disable($a_module_name)
diesables particular modules of table
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.
fillRow($a_set)
Fill a single data row.
setEnableHeader($a_enableheader)
Set Enable Header.
setLimit($a_limit=0, $a_default_limit=0)