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

Static Public Member Functions

static _getCommands ()
 
static _checkGoto (string $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.ilObjLTIConsumerVerificationAccess.php.

Member Function Documentation

◆ _checkGoto()

static ilObjLTIConsumerVerificationAccess::_checkGoto ( string  $target)
static

Definition at line 42 of file class.ilObjLTIConsumerVerificationAccess.php.

References $DIC, and ilSharedResourceGUI\hasAccess().

42  : bool
43  {
44  global $DIC; /* @var \ILIAS\DI\Container $DIC */
45 
46  $t_arr = explode("_", $target);
47 
48  // #11021
49  // personal workspace context: do not force normal login
50  if (isset($t_arr[2]) && $t_arr[2] == "wsp") {
51  return ilSharedResourceGUI::hasAccess((int) $t_arr[1]);
52  }
53  return (bool) $DIC->access()->checkAccess("read", "", (int) $t_arr[1]);
54  }
global $DIC
Definition: feed.php:28
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)
+ Here is the call graph for this function:

◆ _getCommands()

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

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

Referenced by ilObjLTIConsumerVerificationListGUI\init().

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

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