43 public static function checkAccess($a_ref_id, $a_allow_only_read =
true)
45 global $ilUser,$ilAccess;
47 if($ilUser->getId() == ANONYMOUS_USER_ID)
52 include_once(
"Services/Tracking/classes/class.ilObjUserTracking.php");
58 if($ilAccess->checkAccess(
'edit_learning_progress',
'',$a_ref_id))
63 include_once
'./Services/Tracking/classes/class.ilLPObjSettings.php';
69 if(!$ilAccess->checkAccess(
'read',
'',$a_ref_id))
74 if($a_allow_only_read)