ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjSystemFolderAccess.php
Go to the documentation of this file.
1<?php
2
25{
29 public static function _checkGoto(string $target): bool
30 {
31 global $DIC;
32
33 $ilAccess = $DIC->access();
34
35 $target = SYSTEM_FOLDER_ID;
36
37 if ($ilAccess->checkAccess("read", "", $target)) {
38 return true;
39 }
40 return false;
41 }
42}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _checkGoto(string $target)
check whether goto script will succeed
Class ilObjectAccess.
const SYSTEM_FOLDER_ID
Definition: constants.php:35
global $DIC
Definition: shib_login.php:26