24 include_once(
'./Services/Membership/classes/class.ilParticipants.php');
62 if(isset(self::$instances[$a_obj_id]) and self::$instances[$a_obj_id])
64 return self::$instances[$a_obj_id];
81 $rolf = $rbacreview->getRoleFolderOfObject($a_ref_id);
82 if(!isset($rolf[
'ref_id']) or !$rolf[
'ref_id'])
84 $title = $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($a_ref_id));
85 $ilLog->write(__METHOD__.
': Found object without role folder. Ref_id: '.$a_ref_id.
', title: '.
$title);
90 $local_roles = $rbacreview->getRolesOfRoleFolder($rolf[
"ref_id"],
false);
92 return $rbacreview->isAssignedToAtLeastOneGivenRole($a_usr_id, $local_roles);