4include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
31 $commands[] = array(
"permission" =>
"read",
"cmd" =>
"view",
"lang_var" =>
"show",
"default" =>
true);
38 $ilAccess =
$DIC[
'ilAccess'];
40 $t_arr = explode(
"_", $a_target);
44 if (isset($t_arr[2]) && $t_arr[2] ==
"wsp") {
45 include_once
"Services/PersonalWorkspace/classes/class.ilSharedResourceGUI.php";
49 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1])) {
An exception for terminatinating execution or to throw for unit testing.
Class ilObjTestVerificationAccess.
static _checkGoto($a_target)
check whether goto script will succeed
static _getCommands()
get commands
static hasAccess($a_node_id, $a_is_portfolio=false)