33 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
34 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
69 if(!$status_info[
'registration'])
74 if($status_info[
'starting_time'] < time())
80 return $status_info[
'registered_users'] ? $status_info[
'registered_users'] : array();
86 return $status_info[
'participated_users'] ? $status_info[
'participated_users'] : array();
93 include_once
'./Modules/Session/classes/class.ilEventParticipants.php';
94 include_once(
'./Modules/Session/classes/class.ilObjSession.php');
95 include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
100 $course_ref_id = $tree->checkForParentType(
$ref_id,
'crs');
103 $status_info = array();
104 $status_info[
'crs_id'] = $course_obj_id;
110 $status_info[
'starting_time'] = $time_info[
'start'];
111 $status_info[
'ending_time'] = $time_info[
'end'];
112 $status_info[
'fullday'] = $time_info[
'fullday'];
130 global $ilObjDataCache, $ilDB;
133 switch ($ilObjDataCache->lookupType($a_obj_id))
136 include_once
'./Modules/Session/classes/class.ilEventParticipants.php';
137 include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
138 include_once(
'./Modules/Session/classes/class.ilObjSession.php');
145 if ($registration && $time_info[
'start'] >= time())
168 protected static function getMembers($a_obj_id, $a_is_crs_id =
false)
175 $course_ref_id = $tree->checkForParentType(
$ref_id,
'crs');
180 $course_obj_id = $a_obj_id;
183 include_once
'Modules/Course/classes/class.ilCourseParticipants.php';
185 return $member_obj->getMembers();