5 include_once
'Services/Tracking/classes/class.ilLPStatus.php';
6 include_once
'Services/Tracking/classes/class.ilLearningProgress.php';
32 $required_visits = $status_info[
'visits'];
34 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
36 foreach($all as $event)
38 if($event[
'read_count'] < $required_visits)
40 $user_ids[] = $event[
'usr_id'];
43 return $user_ids ? $user_ids : array();
51 $required_visits = $status_info[
'visits'];
53 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
55 foreach($all as $event)
57 if($event[
'read_count'] >= $required_visits)
59 $user_ids[] = $event[
'usr_id'];
62 return $user_ids ? $user_ids : array();
67 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
83 global $ilObjDataCache,
$ilDB;
86 switch ($ilObjDataCache->lookupType($a_obj_id))
89 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
96 $required_visits = $status_info[
'visits'];
98 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
100 if ($re[0][
'read_count'] >= $required_visits)
120 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
124 $rc = (int) $re[0][
"read_count"];
128 $per = min(100, 100 / $reqv * $rc);