5 include_once
'Services/Tracking/classes/class.ilLPStatus.php';
6 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
7 include_once
'Services/Tracking/classes/class.ilLearningProgress.php';
33 $required_visits = $status_info[
'visits'];
35 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
37 foreach($all as $event)
39 if($event[
'read_count'] < $required_visits)
41 $user_ids[] = $event[
'usr_id'];
44 return $user_ids ? $user_ids : array();
52 $required_visits = $status_info[
'visits'];
54 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
56 foreach($all as $event)
58 if($event[
'read_count'] >= $required_visits)
60 $user_ids[] = $event[
'usr_id'];
63 return $user_ids ? $user_ids : array();
68 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
84 global $ilObjDataCache,
$ilDB;
87 switch ($ilObjDataCache->lookupType($a_obj_id))
90 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
97 $required_visits = $status_info[
'visits'];
99 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
101 if ($re[0][
'read_count'] >= $required_visits)
121 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
125 $rc = (int) $re[0][
"read_count"];
129 $per = min(100, 100 / $reqv * $rc);