24 include_once(
'./Services/Object/classes/class.ilObjectAccess.php');
50 public function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
52 global
$ilUser,
$lng, $rbacsystem, $ilAccess, $ilias;
56 $a_user_id = $ilUser->getId();
73 $query =
"SELECT target_obj_id FROM container_reference ".
74 "WHERE obj_id = ".$ilDB->quote($obj_id,
'integer').
" ";
81 $target_ref_id = current($target_ref_ids);
82 return !$tree->isDeleted($target_ref_id);
static _getAllReferences($a_id)
get all reference ids of object
static _isAccessible($a_ref_id)
Check if target is accessible and not deleted.
static _lookupObjId($a_id)
_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...