ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMainMenuAccess Interface Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilMainMenuAccess:
+ Collaboration diagram for ilMainMenuAccess:

Public Member Functions

 checkAccessAndThrowException (string $permission)
 
 hasUserPermissionTo (string $permission)
 
 getGlobalRoles ()
 
 isCurrentUserAllowedToSeeCustomItem (ilMMCustomItemStorage $item, Closure $current)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjMainMenuAccess

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 24 of file interface.ilMainMenuAccess.php.

Member Function Documentation

◆ checkAccessAndThrowException()

ilMainMenuAccess::checkAccessAndThrowException ( string  $permission)
Parameters
string$permission
Exceptions
ilException

Implemented in ilObjMainMenuAccess.

◆ getGlobalRoles()

ilMainMenuAccess::getGlobalRoles ( )
Returns
array

Implemented in ilObjMainMenuAccess.

◆ hasUserPermissionTo()

ilMainMenuAccess::hasUserPermissionTo ( string  $permission)
Parameters
string$permission
Returns
bool

Implemented in ilObjMainMenuAccess.

◆ isCurrentUserAllowedToSeeCustomItem()

ilMainMenuAccess::isCurrentUserAllowedToSeeCustomItem ( ilMMCustomItemStorage  $item,
Closure  $current 
)
Parameters
ilMMCustomItemStorage$item
Returns
Closure

Implemented in ilObjMainMenuAccess.


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