5 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
30 include_once
'./Services/MetaData/classes/class.ilMDEducational.php';
33 $tlt = $status_info[
'tlt'];
35 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
38 foreach($all as $event)
40 if($event[
'spent_seconds'] < $tlt)
42 $user_ids[] = $event[
'usr_id'];
45 return $user_ids ? $user_ids : array();
52 include_once
'./Services/MetaData/classes/class.ilMDEducational.php';
55 $tlt = $status_info[
'tlt'];
58 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
61 foreach($all as $event)
63 if($event[
'spent_seconds'] >= $tlt)
65 $user_ids[] = $event[
'usr_id'];
68 return $user_ids ? $user_ids : array();
73 include_once
'./Services/MetaData/classes/class.ilMDEducational.php';
89 global $ilObjDataCache,
$ilDB;
92 switch ($ilObjDataCache->lookupType($a_obj_id))
101 $tlt = $status_info[
'tlt'];
103 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
105 if ($re[0][
'spent_seconds'] >= $tlt)
127 $spent = (int) $re[0][
"spent_seconds"];
131 $per = min(100, 100 / $tlt * $spent);