ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilMainMenuAccess.php
Go to the documentation of this file.
1<?php
2
25{
30 public function checkAccessAndThrowException(string $permission) : void;
31
36 public function hasUserPermissionTo(string $permission) : bool;
37
41 public function getGlobalRoles() : array;
42
47 public function isCurrentUserAllowedToSeeCustomItem(ilMMCustomItemStorage $item, Closure $current) : Closure;
48}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkAccessAndThrowException(string $permission)
isCurrentUserAllowedToSeeCustomItem(ilMMCustomItemStorage $item, Closure $current)
hasUserPermissionTo(string $permission)