ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjectPermissionStatusGUI Class Reference

This class displays the permission status of a user concerning a specific object. More...

+ Collaboration diagram for ilObjectPermissionStatusGUI:

Public Member Functions

 __construct (&$a_obj)
 Constructor public. More...
 
 executeCommand ()
 execute command More...
 
 perminfo ()
 cmd function More...
 
 addToolbar ()
 Creates Toolbar entries. More...
 
 accessStatusInfo ()
 Access- and Statusinformation Info. More...
 
 accessPermissionsTable ()
 Access Permissions Table. More...
 
 availableRolesTable ()
 Available Roles Table. More...
 
 getAssignedValidRoles ()
 get Assigned Valid Roles More...
 
 getCommands ($a_type)
 get Commands More...
 
 getUser ()
 ilUser More...
 
 getAccessStatusInfoData ()
 Access Status Info Data. More...
 
 getAccessPermissionTableData ()
 Access Permissions Table Data. More...
 
 getAvailableRolesTableData ()
 Available Roles Table Data. More...
 

Data Fields

 $user
 
 $lng
 
 $ilCtrl
 
 $tpl
 
 $object
 
 $rbacreview
 
 $user_roles
 
 $global_roles
 
 $valid_roles
 
 $assigned_valid_roles
 
const IMG_OK = 0
 
const IMG_NOT_OK = 1
 

Detailed Description

This class displays the permission status of a user concerning a specific object.

("Permissions" -> "Permission of User")

Author
Sascha Hofmann sasch.nosp@m.ahof.nosp@m.mann@.nosp@m.gmx..nosp@m.de
Version
$Id$

ilObjectPermissionStatusGUI: ilRepositorySearchGUI

Definition at line 16 of file class.ilObjectPermissionStatusGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjectPermissionStatusGUI::__construct ( $a_obj)

Constructor public.

Definition at line 43 of file class.ilObjectPermissionStatusGUI.php.

References $DIC, $ilCtrl, $lng, $rbacreview, $tpl, getAssignedValidRoles(), getUser(), and user().

44  {
45  global $DIC;
46 
47  $ilCtrl = $DIC['ilCtrl'];
48  $lng = $DIC['lng'];
49  $rbacreview = $DIC['rbacreview'];
50  $tpl = $DIC['tpl'];
51 
52  $this->lng = $lng;
53  $this->ilCtrl = $ilCtrl;
54  $this->tpl = $tpl;
55  $this->object = $a_obj;
56  $this->rbacreview = $rbacreview;
57 
58  $this->user = $this->getUser();
59  $this->user_roles = $rbacreview->assignedRoles($this->user->getId());
60  $this->global_roles = $rbacreview->getGlobalRoles();
61  $this->valid_roles = $rbacreview->getParentRoleIds($this->object->getRefId());
62  $this->assigned_valid_roles = $this->getAssignedValidRoles();
63  }
This class provides processing control methods.
global $DIC
Definition: saml.php:7
user()
Definition: user.php:4
getAssignedValidRoles()
get Assigned Valid Roles
+ Here is the call graph for this function:

Member Function Documentation

◆ accessPermissionsTable()

ilObjectPermissionStatusGUI::accessPermissionsTable ( )

Access Permissions Table.

Returns
string HTML

Definition at line 161 of file class.ilObjectPermissionStatusGUI.php.

References $table, and getAccessPermissionTableData().

Referenced by perminfo().

162  {
163  include_once("./Services/AccessControl/classes/class.ilAccessPermissionsStatusTableGUI.php");
164 
165  $table = new ilAccessPermissionsStatusTableGUI($this, "perminfo");
166 
167  $table->setData($this->getAccessPermissionTableData());
168  $table->setTitle($this->lng->txt("info_access_permissions"));
169 
170  return $table->getHTML();
171  }
Table for Acces Permissons in Permission > Permission of User.
getAccessPermissionTableData()
Access Permissions Table Data.
if(empty($password)) $table
Definition: pwgen.php:24
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ accessStatusInfo()

ilObjectPermissionStatusGUI::accessStatusInfo ( )

Access- and Statusinformation Info.

Returns
string HTML

Definition at line 141 of file class.ilObjectPermissionStatusGUI.php.

References $data, $info, getAccessStatusInfoData(), and ilCtrl\getFormAction().

Referenced by perminfo().

142  {
143  include_once("./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
144 
145  $info = new ilInfoScreenGUI(new stdClass());
146  $info->setFormAction($this->ilCtrl->getFormAction($this));
147 
148  $info->addSection($this->lng->txt("info_access_and_status_info"));
149 
150  foreach ($this->getAccessStatusInfoData() as $data) {
151  $info->addProperty($data[0], $data[1]);
152  }
153 
154  return $info->getHTML();
155  }
getAccessStatusInfoData()
Access Status Info Data.
This class provides processing control methods.
Class ilInfoScreenGUI.
$info
Definition: index.php:5
$data
Definition: bench.php:6
getFormAction( $a_gui_obj, $a_fallback_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get form action url for gui class object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addToolbar()

ilObjectPermissionStatusGUI::addToolbar ( )

Creates Toolbar entries.

Definition at line 112 of file class.ilObjectPermissionStatusGUI.php.

References $DIC, $login, ilCtrl\getFormAction(), ilCtrl\getLinkTargetByClass(), and user().

Referenced by perminfo().

113  {
114  global $DIC;
115 
116  $ilToolbar = $DIC['ilToolbar'];
117 
118  $ilToolbar->setFormAction($this->ilCtrl->getFormAction($this, "perminfo"));
119 
120  $ilToolbar->addText($this->lng->txt('user'));
121 
122  include_once("./Services/Form/classes/class.ilTextInputGUI.php");
123 
124  $login = new ilTextInputGUI($this->lng->txt("username"), "user_login");
125  $login->setDataSource($this->ilCtrl->getLinkTargetByClass(array(get_class($this),
126  'ilRepositorySearchGUI'), 'doUserAutoComplete', '', true));
127  $login->setSize(15);
128  $login->setValue($this->user->getLogin());
129 
130  $ilToolbar->addInputItem($login);
131 
132  $ilToolbar->addFormButton($this->lng->txt("info_change_user_view"), "perminfo");
133 
134  //$ilToolbar->addText($lng->txt("info_enter_login_or_id"));
135  }
This class provides processing control methods.
global $DIC
Definition: saml.php:7
user()
Definition: user.php:4
This class represents a text property in a property form.
getLinkTargetByClass( $a_class, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui class name.
$login
Definition: cron.php:13
getFormAction( $a_gui_obj, $a_fallback_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get form action url for gui class object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ availableRolesTable()

ilObjectPermissionStatusGUI::availableRolesTable ( )

Available Roles Table.

Returns
string HTML

Definition at line 177 of file class.ilObjectPermissionStatusGUI.php.

References $table, and getAvailableRolesTableData().

Referenced by perminfo().

178  {
179  include_once("./Services/AccessControl/classes/class.ilAvailableRolesStatusTableGUI.php");
180 
181  $table = new ilAvailableRolesStatusTableGUI($this, "perminfo");
182 
183  $table->setData($this->getAvailableRolesTableData());
184  $table->setTitle($this->lng->txt("info_available_roles"));
185 
186  return $table->getHTML();
187  }
getAvailableRolesTableData()
Available Roles Table Data.
if(empty($password)) $table
Definition: pwgen.php:24
Table for Available Roles in Permission > Permission of User.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjectPermissionStatusGUI::executeCommand ( )

execute command

Definition at line 68 of file class.ilObjectPermissionStatusGUI.php.

References $DIC, $ilCtrl, ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), and ilCtrl\setReturn().

69  {
70  global $DIC;
71 
72  $ilCtrl = $DIC['ilCtrl'];
73 
74  // determine next class in the call structure
75  $next_class = $this->ilCtrl->getNextClass($this);
76 
77  switch ($next_class) {
78  case 'ilrepositorysearchgui':
79  include_once('./Services/Search/classes/class.ilRepositorySearchGUI.php');
80  $rep_search = new ilRepositorySearchGUI();
81  $this->ilCtrl->setReturn($this, 'perminfo');
82  $this->ilCtrl->forwardCommand($rep_search);
83  break;
84 
85  default:
86  $cmd = $this->ilCtrl->getCmd();
87  $this->$cmd();
88  break;
89  }
90  }
This class provides processing control methods.
setReturn($a_gui_obj, $a_cmd)
Set return command.
global $DIC
Definition: saml.php:7
getNextClass($a_gui_class=null)
Get next class in the control path from the current class to the target command class.
getCmd($a_default_cmd="", $a_safe_commands="")
Determines current get/post command.
forwardCommand($a_gui_object)
Forward flow of control to next gui class this invokes the executeCommand() method of the gui object ...
+ Here is the call graph for this function:

◆ getAccessPermissionTableData()

ilObjectPermissionStatusGUI::getAccessPermissionTableData ( )

Access Permissions Table Data.

Returns
array

Definition at line 361 of file class.ilObjectPermissionStatusGUI.php.

References $DIC, ilRbacReview\_getOperationList(), getAssignedValidRoles(), ilObjectPlugin\lookupTxtById(), and user().

Referenced by accessPermissionsTable().

362  {
363  global $DIC;
364 
365  $ilAccess = $DIC['ilAccess'];
366  $ilObjDataCache = $DIC['ilObjDataCache'];
367  $objDefinition = $DIC['objDefinition'];
368 
369  // get all possible operation of current object
370  $ops_list = ilRbacReview::_getOperationList($this->object->getType());
371 
372  $counter = 0;
373  $result_set = array();
374 
375  // check permissions of user
376  foreach ($ops_list as $ops) {
377  $access = $ilAccess->doRBACCheck($ops['operation'], "info", $this->object->getRefId(), $this->user->getId(), $this->object->getType());
378 
379  $result_set[$counter]["img"] = $access ? self::IMG_OK : self::IMG_NOT_OK;
380 
381  if (substr($ops['operation'], 0, 7) == "create_" &&
382  $objDefinition->isPlugin(substr($ops['operation'], 7))) {
383  $result_set[$counter]["operation"] = ilObjectPlugin::lookupTxtById(
384  substr($ops['operation'], 7),
385  'rbac_' . $ops['operation']
386  );
387  } elseif ($objDefinition->isPlugin($this->object->getType())) {
388  $result_set[$counter]["operation"] = ilObjectPlugin::lookupTxtById(
389  $this->object->getType(),
390  $this->object->getType() . "_" . $ops['operation']
391  );
392  } elseif (substr($ops['operation'], 0, 7) == 'create_') {
393  $result_set[$counter]["operation"] = $this->lng->txt('rbac_' . $ops['operation']);
394  } else {
395  $result_set[$counter]["operation"] = $this->lng->txt($this->object->getType() . "_" . $ops['operation']);
396  }
397 
398  $list_role = [];
399 
400  // Check ownership
401  if ($this->user->getId() == $ilObjDataCache->lookupOwner($this->object->getId())) {
402  if (
403  (substr($ops['operation'], 0, 7) != 'create_') and
404  ($ops['operation'] != 'edit_permission') and
405  ($ops['operation'] != 'edit_leanring_progress')
406  ) {
407  $list_role[] = $this->lng->txt('info_owner_of_object');
408  }
409  }
410  // get operations on object for each assigned role to user
411  foreach ($this->getAssignedValidRoles() as $role) {
412  if (in_array($ops['ops_id'], $role['ops'])) {
413  $list_role[] = $role['translation'];
414  }
415  }
416 
417  if (empty($list_role)) {
418  $list_role[] = $this->lng->txt('none');
419  }
420 
421 
422  $result_set[$counter]["role_ownership"] = $list_role;
423 
424  ++$counter;
425  }
426 
427  return $result_set;
428  }
static lookupTxtById($plugin_id, $lang_var)
global $DIC
Definition: saml.php:7
static _getOperationList($a_type=null)
get operation list by object type public static
user()
Definition: user.php:4
getAssignedValidRoles()
get Assigned Valid Roles
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAccessStatusInfoData()

ilObjectPermissionStatusGUI::getAccessStatusInfoData ( )

Access Status Info Data.

Returns
array

Definition at line 282 of file class.ilObjectPermissionStatusGUI.php.

References $assigned_valid_roles, $DIC, $factory, $info, $text, getAssignedValidRoles(), getCommands(), IL_NO_PARENT_ACCESS, IL_STATUS_MESSAGE, and user().

Referenced by accessStatusInfo().

283  {
284  global $DIC;
285 
286  $ilAccess = $DIC['ilAccess'];
287  $infos = array();
288 
289  $result_set[0][] = $this->lng->txt("info_view_of_user");
290  $result_set[0][] = $this->user->getFullname() . " (#" . $this->user->getId() . ")";
291 
292  $assigned_valid_roles = array();
293 
294  foreach ($this->getAssignedValidRoles() as $role) {
295  $assigned_valid_roles[] = $role["translation"];
296  }
297 
298  $roles_str = implode(", ", $assigned_valid_roles);
299 
300  $result_set[1][] = $this->lng->txt("roles");
301  $result_set[1][] = $roles_str;
302 
303  $result_set[2][] = $this->lng->txt("status");
304 
305  $ilAccess->clear();
306  $ilAccess->checkAccessOfUser(
307  $this->user->getId(),
308  'read',
309  '',
310  $this->object->getRefId(),
311  $this->object->getType(),
312  $this->object->getId()
313  );
314 
315  $infos = array_merge($infos, $ilAccess->getInfo());
316 
317  $cmds = $this->getCommands($this->object->getType());
318 
319  foreach ($cmds as $cmd) {
320  $ilAccess->clear();
321  $ilAccess->doStatusCheck($cmd['permission'], $cmd['cmd'], $this->object->getRefId(), $this->user->getId(), $this->object->getId(), $this->object->getType());
322  $infos = array_merge($infos, $ilAccess->getInfo());
323  }
324 
325  $alert = "il_ItemAlertProperty";
326  $okay = "il_ItemOkayProperty";
327  $text = "";
328 
329  if (!$infos) {
330  $text = "<span class=\"" . $okay . "\">" . $this->lng->txt("access") . "</span><br/> ";
331  } else {
332  foreach ($infos as $info) {
333  switch ($info['type']) {
334  case IL_STATUS_MESSAGE:
335  $text .= "<span class=\"" . $okay . "\">" . $info['text'] . "</span><br/> ";
336  break;
337 
338  case IL_NO_PARENT_ACCESS:
339  $factory = new ilObjectFactory();
340  $obj = $factory->getInstanceByRefId($info['data']);
341  $text .= "<span class=\"" . $alert . "\">" . $info['text'] . " (" . $this->lng->txt("obj_" . $obj->getType()) . " #" . $obj->getId() . ": " . $obj->getTitle() . ")</span><br/> ";
342  break;
343 
344  default:
345  $text .= "<span class=\"" . $alert . "\">" . $info['text'] . "</span><br/> ";
346  break;
347 
348  }
349  }
350  }
351 
352  $result_set[2][] = $text;
353 
354  return $result_set;
355  }
Class ilObjectFactory.
global $DIC
Definition: saml.php:7
$factory
Definition: metadata.php:43
const IL_NO_PARENT_ACCESS
user()
Definition: user.php:4
const IL_STATUS_MESSAGE
$text
Definition: errorreport.php:18
$info
Definition: index.php:5
getAssignedValidRoles()
get Assigned Valid Roles
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAssignedValidRoles()

ilObjectPermissionStatusGUI::getAssignedValidRoles ( )

get Assigned Valid Roles

Returns
array

Definition at line 193 of file class.ilObjectPermissionStatusGUI.php.

References $assigned_valid_roles, ilRbacReview\_getOperationList(), and ilObjRole\_getTranslation().

Referenced by __construct(), getAccessPermissionTableData(), and getAccessStatusInfoData().

194  {
195  include_once('./Services/AccessControl/classes/class.ilObjRole.php');
196  $assigned_valid_roles = array();
197 
198  foreach ($this->valid_roles as $role) {
199  if (in_array($role['obj_id'], $this->user_roles)) {
200  if ($role["obj_id"] == SYSTEM_ROLE_ID) {
201  // get all possible operation of current object
202  $ops_list = ilRbacReview::_getOperationList($this->object->getType());
203 
204  foreach ($ops_list as $ops_data) {
205  $ops[] = (int) $ops_data['ops_id'];
206  }
207 
208  $role['ops'] = $ops;
209  } else {
210  $role['ops'] = $this->rbacreview->getRoleOperationsOnObject($role["obj_id"], $this->object->getRefId());
211  }
212 
213  include_once('./Services/AccessControl/classes/class.ilObjRole.php');
214  $role['translation'] = str_replace(" ", "&nbsp;", ilObjRole::_getTranslation($role["title"]));
215  $assigned_valid_roles[] = $role;
216  }
217  }
218 
219  $this->assigned_valid_roles = $assigned_valid_roles;
220 
221  return $assigned_valid_roles;
222  }
static _getOperationList($a_type=null)
get operation list by object type public static
static _getTranslation($a_role_title)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAvailableRolesTableData()

ilObjectPermissionStatusGUI::getAvailableRolesTableData ( )

Available Roles Table Data.

Returns
array

Definition at line 434 of file class.ilObjectPermissionStatusGUI.php.

References $DIC, $path, $tree, ilObjRole\_getTranslation(), ilObjRole\_removeObjectId(), and ilObjectPlugin\lookupTxtById().

Referenced by availableRolesTable().

435  {
436  global $DIC;
437 
438  $tree = $DIC['tree'];
439 
440  include_once('./Services/AccessControl/classes/class.ilObjRole.php');
441 
442  $path = array_reverse($tree->getPathId($this->object->getRefId()));
443 
444  include_once('./Services/AccessControl/classes/class.ilObjRole.php');
445  $counter = 0;
446 
447  foreach ($this->valid_roles as $role) {
448  $result_set[$counter]["img"] = in_array($role['obj_id'], $this->user_roles) ? self::IMG_OK : self::IMG_NOT_OK;
449 
450  if (is_subclass_of($this->object, ilObjectPlugin::class) && $role["parent"] == $this->object->getRefId()) {
451  $result_set[$counter][] = ilObjectPlugin::lookupTxtById($this->object->getType(), ilObjRole::_removeObjectId($role["title"]));
452  } else {
453  $result_set[$counter][] = str_replace(" ", "&nbsp;", ilObjRole::_getTranslation($role["title"]));
454  }
455 
456  $result_set[$counter]["role"] = str_replace(" ", "&nbsp;", ilObjRole::_getTranslation($role["title"]));
457 
458  if ($role['role_type'] != "linked") {
459  $result_set[$counter]["effective_from"] = "";
460  } else {
461  $rolfs = $this->rbacreview->getFoldersAssignedToRole($role["obj_id"]);
462 
463  // ok, try to match the next rolf in path
464  foreach ($path as $node) {
465  if ($node == 1) {
466  break;
467  }
468 
469 
470  if (in_array($node, $rolfs)) {
471  $nodedata = $tree->getNodeData($node);
472  $result_set[$counter]["effective_from"] = $nodedata["title"];
473  $result_set[$counter]["effective_from_ref_id"] = $node;
474  break;
475  }
476  }
477  }
478 
479  if (in_array($role['obj_id'], $this->global_roles)) {
480  $result_set[$counter]["original_position"] = $this->lng->txt("global");
481  $result_set[$counter]["original_position_ref_id"] = false;
482  } else {
483  $rolf = $this->rbacreview->getFoldersAssignedToRole($role["obj_id"], true);
484  $parent_node = $tree->getNodeData($rolf[0]);
485  $result_set[$counter]["original_position"] = $parent_node["title"];
486  $result_set[$counter]["original_position_ref_id"] = $parent_node["ref_id"];
487  }
488 
489  ++$counter;
490  }
491 
492  return $result_set;
493  }
$path
Definition: aliased.php:25
static lookupTxtById($plugin_id, $lang_var)
global $DIC
Definition: saml.php:7
static _getTranslation($a_role_title)
static _removeObjectId($a_role_title)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCommands()

ilObjectPermissionStatusGUI::getCommands (   $a_type)

get Commands

Parameters
$a_typestring
Returns
array

Definition at line 229 of file class.ilObjectPermissionStatusGUI.php.

References $a_type, $DIC, and $location.

Referenced by getAccessStatusInfoData().

230  {
231  global $DIC;
232 
233  $objDefinition = $DIC['objDefinition'];
234 
235  $class = $objDefinition->getClassName($a_type);
236  $location = $objDefinition->getLocation($a_type);
237  $full_class = "ilObj" . $class . "Access";
238  include_once($location . "/class." . $full_class . ".php");
239 
240  $cmds = call_user_func(array($full_class, "_getCommands"));
241 
242  array_push($cmds, array('permission' => 'visible','cmd' => 'info'));
243 
244  return $cmds;
245  }
global $DIC
Definition: saml.php:7
$location
Definition: buildRTE.php:44
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

◆ getUser()

ilObjectPermissionStatusGUI::getUser ( )

ilUser

Returns
ilObjUser|object

Definition at line 251 of file class.ilObjectPermissionStatusGUI.php.

References $_POST, $DIC, $factory, $ilUser, $user, ilObjUser\_lookupId(), ilUtil\sendFailure(), and ilUtil\sendInfo().

Referenced by __construct().

252  {
253  global $DIC;
254 
255  $ilUser = $DIC['ilUser'];
256 
257  if (!isset($_POST['user_login'])) {
258  $user = &$ilUser;
259  } else {
260  include_once('Services/User/classes/class.ilObjUser.php');
261  $user_id = ilObjUser::_lookupId($_POST['user_login']);
262 
263  $factory = new ilObjectFactory();
264  $user = $factory->getInstanceByObjId($user_id, false);
265 
266 
267  if ($user === false or $user->getType() != 'usr') {
268  $user = &$ilUser;
269  ilUtil::sendFailure($this->lng->txt('info_err_user_not_exist'));
270  } else {
271  ilUtil::sendInfo($this->lng->txt('info_user_view_changed'));
272  }
273  }
274 
275  return $user;
276  }
Class ilObjectFactory.
global $DIC
Definition: saml.php:7
$factory
Definition: metadata.php:43
static _lookupId($a_user_str)
Lookup id by login.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
$ilUser
Definition: imgupload.php:18
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
$_POST["username"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ perminfo()

ilObjectPermissionStatusGUI::perminfo ( )

cmd function

Definition at line 95 of file class.ilObjectPermissionStatusGUI.php.

References $tpl, accessPermissionsTable(), accessStatusInfo(), addToolbar(), and availableRolesTable().

96  {
97  $tpl = new ilTemplate("tpl.info_layout.html", false, false, "Services/AccessControl");
98 
99  $tpl->setVariable("INFO_SUMMARY", $this->accessStatusInfo());
100  $tpl->setVariable("INFO_PERMISSIONS", $this->accessPermissionsTable());
101  $tpl->setVariable("INFO_ROLES", $this->availableRolesTable());
102  $tpl->setVariable("INFO_REMARK_INTERRUPTED", $this->lng->txt('info_remark_interrupted'));
103 
104  $this->tpl->setVariable("ADM_CONTENT", $tpl->get());
105 
106  $this->addToolbar();
107  }
accessStatusInfo()
Access- and Statusinformation Info.
special template class to simplify handling of ITX/PEAR
accessPermissionsTable()
Access Permissions Table.
+ Here is the call graph for this function:

Field Documentation

◆ $assigned_valid_roles

ilObjectPermissionStatusGUI::$assigned_valid_roles

◆ $global_roles

ilObjectPermissionStatusGUI::$global_roles

Definition at line 31 of file class.ilObjectPermissionStatusGUI.php.

◆ $ilCtrl

ilObjectPermissionStatusGUI::$ilCtrl

Definition at line 23 of file class.ilObjectPermissionStatusGUI.php.

Referenced by __construct(), and executeCommand().

◆ $lng

ilObjectPermissionStatusGUI::$lng

Definition at line 21 of file class.ilObjectPermissionStatusGUI.php.

Referenced by __construct().

◆ $object

ilObjectPermissionStatusGUI::$object

Definition at line 27 of file class.ilObjectPermissionStatusGUI.php.

◆ $rbacreview

ilObjectPermissionStatusGUI::$rbacreview

Definition at line 29 of file class.ilObjectPermissionStatusGUI.php.

Referenced by __construct().

◆ $tpl

ilObjectPermissionStatusGUI::$tpl

Definition at line 25 of file class.ilObjectPermissionStatusGUI.php.

Referenced by __construct(), and perminfo().

◆ $user

ilObjectPermissionStatusGUI::$user

Definition at line 19 of file class.ilObjectPermissionStatusGUI.php.

Referenced by getUser().

◆ $user_roles

ilObjectPermissionStatusGUI::$user_roles

Definition at line 30 of file class.ilObjectPermissionStatusGUI.php.

◆ $valid_roles

ilObjectPermissionStatusGUI::$valid_roles

Definition at line 32 of file class.ilObjectPermissionStatusGUI.php.

◆ IMG_NOT_OK

const ilObjectPermissionStatusGUI::IMG_NOT_OK = 1

Definition at line 36 of file class.ilObjectPermissionStatusGUI.php.

◆ IMG_OK

const ilObjectPermissionStatusGUI::IMG_OK = 0

The documentation for this class was generated from the following file: