ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjMainMenuAccess. More...
Public Member Functions | ||||
__construct () | ||||
ilObjMainMenuAccess constructor. More... | ||||
checkAccessAndThrowException (string $permission) | ||||
hasUserPermissionTo (string $permission) | ||||
getGlobalRoles () | ||||
isCurrentUserAllowedToSeeCustomItem (ilMMCustomItemStorage $item) | ||||
![]() | ||||
_checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") | ||||
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | ||||
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id) | ||||
check condition More... | ||||
canBeDelivered (ilWACPath $ilWACPath) | ||||
| ||||
Private Attributes | |
$http | |
$user | |
$rbacsystem | |
$rbacreview | |
Additional Inherited Members | |
![]() | |
static | _getCommands () |
get commands More... | |
static | _checkGoto ($a_target) |
check whether goto script will succeed More... | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More... | |
static | _preloadData ($a_obj_ids, $a_ref_ids) |
Preload data. More... | |
Class ilObjMainMenuAccess.
Definition at line 7 of file class.ilObjMainMenuAccess.php.
ilObjMainMenuAccess::__construct | ( | ) |
ilObjMainMenuAccess constructor.
Definition at line 30 of file class.ilObjMainMenuAccess.php.
References $DIC, ILIAS\FileDelivery\http(), and user().
ilObjMainMenuAccess::checkAccessAndThrowException | ( | string | $permission | ) |
string | $permission |
ilException |
Definition at line 43 of file class.ilObjMainMenuAccess.php.
References hasUserPermissionTo().
ilObjMainMenuAccess::getGlobalRoles | ( | ) |
Definition at line 63 of file class.ilObjMainMenuAccess.php.
ilObjMainMenuAccess::hasUserPermissionTo | ( | string | $permission | ) |
string | $permission |
Definition at line 54 of file class.ilObjMainMenuAccess.php.
References ILIAS\FileDelivery\http().
Referenced by checkAccessAndThrowException().
ilObjMainMenuAccess::isCurrentUserAllowedToSeeCustomItem | ( | ilMMCustomItemStorage | $item | ) |
ilMMCustomItemStorage | $item |
Definition at line 80 of file class.ilObjMainMenuAccess.php.
References ilMMCustomItemStorage\getGlobalRoleIDs(), ilMMCustomItemStorage\hasRoleBasedVisibility(), and user().
|
private |
Definition at line 13 of file class.ilObjMainMenuAccess.php.
|
private |
Definition at line 25 of file class.ilObjMainMenuAccess.php.
|
private |
Definition at line 21 of file class.ilObjMainMenuAccess.php.
|
private |
Definition at line 17 of file class.ilObjMainMenuAccess.php.