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

Static Public Member Functions

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 21 of file class.ilObjMailAccess.php.

Member Function Documentation

◆ _checkGoto()

static ilObjMailAccess::_checkGoto ( string  $target)
static

check whether goto script will succeed

Reimplemented from ilObjectAccess.

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

23 : bool
24 {
25 global $DIC;
26
27 return $DIC->rbac()->system()->checkAccess(
28 'internal_mail',
29 (new ilMail($DIC->user()->getId()))->getMailObjectReferenceId()
30 );
31 }
global $DIC
Definition: shib_login.php:26

References $DIC.


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