24 include_once(
'Services/Table/classes/class.ilTable2GUI.php');
51 parent::__construct($a_parent_obj,$a_parent_cmd);
53 $this->
addColumn($this->lng->txt(
'title'),
'title',
"70%");
54 $this->
addColumn($this->lng->txt(
'context'),
'context',
"30%");
56 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
57 $this->
setRowTemplate(
"tpl.show_role_selection_row.html",
"Services/AccessControl");
72 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
73 $this->tpl->setVariable(
'VAL_TITLE',$a_set[
'title']);
74 if(strlen($a_set[
'description']))
76 $this->tpl->setVariable(
'VAL_DESC',$a_set[
'description']);
79 $this->tpl->setVariable(
'VAL_CONTEXT',$a_set[
'context']);
94 include_once
'./Services/AccessControl/classes/class.ilObjRole.php';
95 foreach($entries as $entry)
97 $tmp_arr[
'id'] = $entry[
'obj_id'];
102 $records_arr[] = $tmp_arr;
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)
Create styles array
The data for the language used.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
parse($entries)
Parse Search entries.
__construct($a_parent_obj, $a_parent_cmd)
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.