ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjCmiXapiVerificationAccess Class Reference
+ Inheritance diagram for ilObjCmiXapiVerificationAccess:
+ Collaboration diagram for ilObjCmiXapiVerificationAccess:

Static Public Member Functions

static _getCommands ()
 
static _checkGoto (string $a_target)
 
- Static Public Member Functions inherited from ilObjectAccess
static _getCommands ()
 get commands More...
 
static _checkGoto (string $target)
 check whether goto script will succeed More...
 
static _isOffline (int $obj_id)
 Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More...
 
static _preloadData (array $obj_ids, array $ref_ids)
 Preload data. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilObjectAccess
 _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
 Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 canBeDelivered (ilWACPath $ilWACPath)
 

Detailed Description

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

Member Function Documentation

◆ _checkGoto()

static ilObjCmiXapiVerificationAccess::_checkGoto ( string  $a_target)
static

Definition at line 47 of file class.ilObjCmiXapiVerificationAccess.php.

References ilSharedResourceGUI\hasAccess().

47  : bool
48  {
49  global $ilAccess;
50 
51  $t_arr = explode("_", $a_target);
52 
53  // #11021
54  // personal workspace context: do not force normal login
55  if (isset($t_arr[2]) && $t_arr[2] == "wsp") {
56  return ilSharedResourceGUI::hasAccess((int) $t_arr[1]);
57  }
58  return (bool) $ilAccess->checkAccess("read", "", $t_arr[1]);
59  }
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)
+ Here is the call graph for this function:

◆ _getCommands()

static ilObjCmiXapiVerificationAccess::_getCommands ( )
static
Returns
array<int, array<string, string|bool>>

Definition at line 35 of file class.ilObjCmiXapiVerificationAccess.php.

Referenced by ilObjCmiXapiVerificationListGUI\init().

35  : array
36  {
37  $commands = [];
38  $commands[] = [
39  "permission" => "read",
40  "cmd" => "view",
41  "lang_var" => "show",
42  "default" => true
43  ];
44  return $commands;
45  }
+ Here is the caller graph for this function:

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