3 require_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   13         public function __construct($parent_obj, $parent_cmd, $role_id, $template_context = 
""){
 
   22                 $this->tabs = $ilTabs;
 
   25         $this->
setPrefix(
"sr_other_role_".$role_id);
 
   27                 $this->
setId(
"sr_other_role_".$role_id);
 
   49                 $this->
addColumn($this->lng->txt(
"firstname"), 
"first_name");
 
   50                 $this->
addColumn($this->lng->txt(
"lastname"), 
"last_name");
 
   51                 $this->
addColumn($this->lng->txt(
"action"));
 
   61         $data = $this->
parseRows($rbacreview->assignedUsers($this->getRoleId()));
 
   68                 foreach($user_ids as $user_id){
 
   81                 $this->role_id = $role_id;
 
   89         return $this->role_id;
 
   94                 $set[
"first_name"] = $user->getFirstname();
 
   95                 $set[
"last_name"] = $user->getLastname();
 
   96                 $set[
"user_object"] = $user;
 
   97                 $set[
"user_id"] = $user_id;
 
  102                 $this->tpl->setVariable(
"FIRST_NAME", $set[
"first_name"]);
 
  103                 $this->tpl->setVariable(
"LAST_NAME", $set[
"last_name"]);
 
  106                 if($ilAccess->checkAccess(
"write", 
"", 
$_GET[
"ref_id"]) && !$this->recursive){
 
  107             $this->ctrl->setParameterByClass(
"ilobjorgunitgui", 
"obj_id", $set[
"user_id"]);
 
  108             $this->ctrl->setParameterByClass(
"ilObjOrgUnitGUI",
"role_id",$this->role_id);
 
  111             $selection->setListTitle($lng->txt(
"Actions"));
 
  112             $selection->setId(
"selection_list_user_other_roles_".$set[
"user_id"]);
 
  113             $selection->addItem($this->lng->txt(
"remove"), 
"delete_from_role", $this->ctrl->getLinkTargetByClass(
"ilOrgUnitStaffGUI", 
"confirmRemoveFromRole"));
 
  115                 $this->tpl->setVariable(
"ACTIONS", $selection->getHTML());