33 public function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
52 switch ($a_operator) {
86 $ilAccess = $DIC->access();
88 $t_arr = explode(
"_", $a_target);
90 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1])) {
109 $objDefinition = $DIC[
'objDefinition'];
132 preg_match(
"/\\/obj_([\\d]*)\\//uism", $ilWACPath->
getPath(),
$results);
134 if ($ilAccess->checkAccess(
'visible',
'', $ref_id) || $ilAccess->checkAccess(
'read',
'', $ref_id)) {
_checkCondition($a_obj_id, $a_operator, $a_value, $a_usr_id)
check condition
static _checkGoto($a_target)
check whether goto script will succeed
static _getAllReferences($a_id)
static _getCommands()
get commands
static _isOffline($a_obj_id)
Type-specific implementation of general status, has to be overwritten if object type does not support...
static _preloadData($a_obj_ids, $a_ref_ids)
Preload data.
static lookupOfflineStatus($a_obj_id)
Lookup offline status using objectDataCache.
Class ilWACCheckingClass.
static _lookupType($a_id, $a_reference=false)
lookup object type
_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::checkAcce...
canBeDelivered(ilWACPath $ilWACPath)
bool