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);