ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjLTIConsumerVerificationAccess Class Reference
+ Inheritance diagram for ilObjLTIConsumerVerificationAccess:
+ Collaboration diagram for ilObjLTIConsumerVerificationAccess:

Static Public Member Functions

static _getCommands ()
 
static _checkGoto (string $target)
 check whether goto script will succeed More...
 
- 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)
 
 canBeDelivered (ilWACPath $ilWACPath)
 

Detailed Description

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

Member Function Documentation

◆ _checkGoto()

static ilObjLTIConsumerVerificationAccess::_checkGoto ( string  $target)
static

check whether goto script will succeed

Reimplemented from ilObjectAccess.

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

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 }
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)
global $DIC
Definition: shib_login.php:26

References $DIC, and ilSharedResourceGUI\hasAccess().

+ Here is the call graph for this function:

◆ _getCommands()

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

Reimplemented from ilObjectAccess.

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

35 : array
36 {
37 $commands = array();
38 $commands[] = array("permission" => "read", "cmd" => "view", "lang_var" => "show", "default" => true);
39 return $commands;
40 }

Referenced by ilObjLTIConsumerVerificationListGUI\init().

+ Here is the caller graph for this function:

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