ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjMailAccess Class Reference

Class ilObjMailAccess. More...

+ Inheritance diagram for ilObjMailAccess:
+ Collaboration diagram for ilObjMailAccess:

Static Public Member Functions

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

Member Function Documentation

◆ _checkGoto()

static ilObjMailAccess::_checkGoto ( string  $target)
static

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

References $DIC.

27  : bool
28  {
29  global $DIC;
30 
31  $mail = new ilMail($DIC->user()->getId());
32  if ($DIC->rbac()->system()->checkAccess('internal_mail', $mail->getMailObjectReferenceId())) {
33  return true;
34  }
35 
36  return false;
37  }
global $DIC
Definition: feed.php:28

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