24include_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;
 
  105                $this->
setData($records_arr ? $records_arr : array());
 
An exception for terminatinating execution or to throw for unit testing.
static _getTranslation($a_role_title)
static _lookupTitle($a_id)
lookup object title
static _lookupDescription($a_id)
lookup object description
__construct($a_parent_obj, $a_parent_cmd)
parse($entries)
Parse Search entries.
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.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.