19declare(strict_types=1);
39 global $ilUser,
$lng, $rbacsystem, $ilAccess;
45 switch ($permission) {
53 if (!$tutor and !$active) {
90 array(
"permission" =>
"read",
"cmd" =>
"show",
"lang_var" =>
"info",
92 array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"edit")
const IL_NO_OBJECT_ACCESS
static _getCommands()
get commands
_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 _lookupOnline($a_obj_id)
Lookup online.