ILIAS  release_8 Revision v8.24
class.ilObjMailAccess.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
27 public static function _checkGoto(string $target): 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 }
38}
Class ilObjMailAccess.
static _checkGoto(string $target)
check whether goto script will succeed
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28