4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
26 $ilAccess = $DIC[
'ilAccess'];
28 $lng->loadLanguageModule(
'rbac');
29 $this->
setId(
"usrroleass");
31 parent::__construct($a_parent_obj, $a_parent_cmd);
38 $this->
addColumn($this->lng->txt(
"role"),
"title");
39 $this->
addColumn($this->lng->txt(
"description"),
"description");
40 $this->
addColumn($this->lng->txt(
"context"),
"path");
45 $this->
setRowTemplate(
"tpl.role_assignment_row.html",
"Services/User");
61 $option[0] =
$lng->txt(
'assigned_roles');
62 $option[1] =
$lng->txt(
'all_roles');
63 $option[2] =
$lng->txt(
'all_global_roles');
64 $option[3] =
$lng->txt(
'all_local_roles');
65 $option[4] =
$lng->txt(
'internal_local_roles_only');
66 $option[5] =
$lng->txt(
'non_internal_local_roles_only');
68 include_once(
"./Services/Form/classes/class.ilSelectInputGUI.php");
70 $si->setOptions($option);
72 $si->readFromSession();
73 $this->filter[
"role_filter"] =
$si->getValue();
85 if ($a_set[
'checkbox']) {
86 $this->tpl->setVariable(
"CHECKBOX", $a_set[
"checkbox"]);
88 $this->tpl->setVariable(
"ROLE", $a_set[
"role"]);
89 $this->tpl->setVariable(
"DESCRIPTION", $a_set[
"description"]);
90 $this->tpl->setVariable(
"CONTEXT", $a_set[
"context"]);
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
addFilterItem($a_input_item, $a_optional=false)
Add filter item.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
setDisableFilterHiding($a_val=true)
Set disable filter hiding.
fillRow($a_set)
Fill table row.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
TableGUI class for role assignment in user administration.
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.
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.