24 include_once(
'Services/Table/classes/class.ilTable2GUI.php');
54 parent::__construct($a_parent_obj, $a_parent_cmd);
56 $this->
addColumn($this->lng->txt(
'title'),
'title',
"70%");
57 $this->
addColumn($this->lng->txt(
'context'),
'context',
"30%");
59 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
60 $this->
setRowTemplate(
"tpl.show_role_selection_row.html",
"Services/AccessControl");
75 $this->tpl->setVariable(
'VAL_ID', $a_set[
'id']);
76 $this->tpl->setVariable(
'VAL_TITLE', $a_set[
'title']);
77 if (strlen($a_set[
'description'])) {
78 $this->tpl->setVariable(
'VAL_DESC', $a_set[
'description']);
81 $this->tpl->setVariable(
'VAL_CONTEXT', $a_set[
'context']);
96 $rbacreview = $DIC[
'rbacreview'];
98 include_once
'./Services/AccessControl/classes/class.ilObjRole.php';
99 foreach ($entries as $entry) {
100 $tmp_arr[
'id'] = $entry[
'obj_id'];
105 $records_arr[] = $tmp_arr;
108 $this->
setData($records_arr ? $records_arr : array());
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
static _lookupTitle($a_id)
lookup object title
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
static _lookupDescription($a_id)
lookup object description
setRowTemplate($a_template, $a_template_dir="")
Set row template.
static _getTranslation($a_role_title)
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.
parse($entries)
Parse Search entries.
__construct($a_parent_obj, $a_parent_cmd)