6 include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
7 require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCheckingClass.php');
36 $commands[] =
array(
"permission" =>
"read",
"cmd" =>
"render",
"lang_var" =>
"show",
"default" =>
true);
37 $commands[] =
array(
"permission" =>
"write",
"cmd" =>
"render",
"lang_var" =>
"edit_content");
38 $commands[] =
array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"settings");
50 $t_arr = explode(
"_", $a_target);
52 if ($t_arr[0] !=
"book" || ((
int) $t_arr[1]) <= 0)
57 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1]))
64 function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
70 $a_user_id = $ilUser->getId();
81 if(($a_permission ==
"visible" || $a_permission ==
"read") && !$rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id))
83 include_once
"Modules/BookingManager/classes/class.ilObjBookingPool.php";
85 if($pool->isOffline())
static _checkGoto($a_target)
check whether goto script will succeed
canBeDelivered(ilWACPath $ilWACPath)
static _getCommands()
get commands
Class ilWACCheckingClass.
Create styles array
The data for the language used.
_checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
Class ilObjBookingPoolAccess.