2 include_once (
'./Services/Table/classes/class.ilTable2GUI.php');
22 parent::__construct($a_parent_obj,$a_parent_cmd);
24 $this->
setId(
'accessperm'.$this->parent_obj->user->getId());
29 $this->
setRowTemplate(
"tpl.access_permissions_status_row.html",
"Services/AccessControl");
32 $this->
addColumn($lng->txt(
"operation"),
"operation",
"45%");
33 $this->
addColumn($lng->txt(
"info_from_role"),
"role_ownership");
46 $img_info = $lng->txt(
"info_assigned");
51 $img_info = $lng->txt(
"info_not_assigned");
53 $this->tpl->setVariable(
"IMG_PATH", $img_path);
54 $this->tpl->setVariable(
"IMG_INFO", $img_info);
56 $this->tpl->setVariable(
"TXT_OPERATION", $a_set[
"operation"]);
58 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
fillRow($a_set)
Fill a single data row.
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)