24 array(
"permission" =>
"read",
26 "lang_var" =>
"edit_questions",
29 array(
"permission" =>
"write",
"cmd" =>
"questions",
"lang_var" =>
"edit_questions"),
30 array(
"permission" =>
"write",
"cmd" =>
"properties",
"lang_var" =>
"settings")
40 $ilAccess =
$DIC->access();
42 $t_arr = explode(
"_", $target);
44 if ($ilAccess->checkAccess(
"visible",
"", $t_arr[1]) ||
45 $ilAccess->checkAccess(
"read",
"", $t_arr[1])) {
54 $ilAccess =
$DIC->access();
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
_checkAccess(string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAcc...
static _checkGoto(string $target)
check whether goto script will succeed
static _getCommands()
get commands
static _lookupObjId(int $ref_id)