43 public static function checkAccess($a_ref_id, $a_allow_only_read =
true)
47 if($ilUser->getId() == ANONYMOUS_USER_ID)
52 include_once(
"Services/Tracking/classes/class.ilObjUserTracking.php");
58 if($ilAccess->checkAccess(
'read_learning_progress',
'',$a_ref_id) ||
59 $ilAccess->checkAccess(
'edit_learning_progress',
'',$a_ref_id))
69 include_once
'./Services/Object/classes/class.ilObjectLP.php';
76 if(!$ilAccess->checkAccess(
'read',
'',$a_ref_id))
81 if($a_allow_only_read)