24 include_once(
'Services/Table/classes/class.ilTable2GUI.php');
 
   55                 $this->
addColumn($this->lng->txt(
'shib_rule_type'),
'type',
"20%");
 
   56                 $this->
addColumn($this->lng->txt(
'shib_ilias_role'),
'role',
"30%");
 
   57                 $this->
addColumn($this->lng->txt(
'shib_rule_condition'),
'condition',
"20%");
 
   58                 $this->
addColumn($this->lng->txt(
'shib_add_remove'),
'add_remove',
"30%");
 
   60                 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
 
   61                 $this->
setRowTemplate(
"tpl.show_role_assignment_row.html",
"Services/AuthShibboleth");
 
   75                 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
 
   76                 $this->tpl->setVariable(
'VAL_TYPE',$a_set[
'type']);
 
   77                 $this->tpl->setVariable(
'VAL_CONDITION',$a_set[
'condition']);
 
   78                 $this->tpl->setVariable(
'VAL_ROLE',$a_set[
'role']);
 
   79                 $this->tpl->setVariable(
'TXT_EDIT',$this->lng->txt(
'edit'));
 
   84                         $this->tpl->setVariable(
'STATA_ALT',$this->lng->txt(
'yes'));
 
   89                         $this->tpl->setVariable(
'STATA_ALT',$this->lng->txt(
'no'));
 
   94                         $this->tpl->setVariable(
'STATB_ALT',$this->lng->txt(
'yes'));
 
   99                         $this->tpl->setVariable(
'STATB_ALT',$this->lng->txt(
'no'));
 
  102                 $this->ctrl->setParameter($this->
getParentObject(),
'rule_id',$a_set[
'id']);
 
  103                 $this->tpl->setVariable(
'EDIT_LINK',$this->ctrl->getLinkTarget($this->getParentObject(),
'editRoleAssignment'));
 
  115                 foreach($rule_objs as $rule)
 
  117                         $tmp_arr[
'id'] = $rule->getRuleId();
 
  118                         $tmp_arr[
'type'] = $rule->isPluginActive() ?
 
  119                                 $this->lng->txt(
'shib_role_by_plugin') :
 
  120                                 $this->lng->txt(
'shib_role_by_attribute');
 
  121                         $tmp_arr[
'add'] = $rule->isAddOnUpdateEnabled();
 
  122                         $tmp_arr[
'remove'] = $rule->isRemoveOnUpdateEnabled();
 
  124                         $tmp_arr[
'condition'] = $rule->conditionToString();     
 
  127                         $records_arr[] = $tmp_arr;
 
  130                 $this->
setData($records_arr ? $records_arr : array());