5 include_once
'Services/Tracking/classes/class.ilLPStatus.php';
46 $usr_ids = (array)$objective_results[
'user_status'][self::LP_STATUS_IN_PROGRESS_NUM];
60 $usr_ids = array_intersect(self::getMembers($a_obj_id), (array)$usr_ids);
63 return $usr_ids ? $usr_ids : array();
69 $usr_ids = (array)$objective_results[
'user_status'][self::LP_STATUS_COMPLETED_NUM];
74 $usr_ids = array_intersect(self::getMembers($a_obj_id), (array)$usr_ids);
77 return $usr_ids ? $usr_ids : array();
83 $usr_ids = (array)$objective_results[
'user_status'][self::LP_STATUS_FAILED_NUM];
88 $usr_ids = array_intersect(self::getMembers($a_obj_id), (array)$usr_ids);
91 return $usr_ids ? $usr_ids : array();
98 include_once
'Modules/Course/classes/class.ilCourseObjective.php';
100 $status_info = array();
101 $status_info[
'user_status'] = array();
103 $status_info[
'num_objectives'] = count($status_info[
'objectives']);
105 if($status_info[
'num_objectives'])
107 $in = $ilDB->in(
'objective_id',$status_info[
'objectives'],
false,
'integer');
109 include_once
"Modules/Course/classes/Objectives/class.ilLOUserResults.php";
112 $status_info[
'user_status'][$user_status][] = $user_id;
116 $query =
"SELECT * FROM crs_objectives WHERE ".$in;
120 $status_info[
'objective_title'][
$row->objective_id] =
$row->title;
121 $status_info[
'objective_description'][
$row->objective_id] =
$row->description;
138 global $ilObjDataCache,
$ilDB;
151 switch ($ilObjDataCache->lookupType($a_obj_id))
154 include_once(
"./Services/Tracking/classes/class.ilChangeEvent.php");
160 include_once
'Modules/Course/classes/class.ilCourseObjective.php';
165 include_once
"Modules/Course/classes/Objectives/class.ilLOUserResults.php";
181 include_once
'Modules/Course/classes/class.ilCourseParticipants.php';
183 return $member_obj->getMembers();