30 include_once
'./Services/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php';
51 return $lng->txt(
'ecs_node_mapping_status_'.$a_status);
59 $field_info = array();
73 $field_info[$counter][
'name'] = $field;
74 $field_info[$counter][
'translation'] = $lng->txt(
'ecs_cmap_att_'.$field);
84 $options[
''] = $lng->txt(
'select_one');
85 foreach(self::getCourseMappingFieldInfo() as $info)
87 $options[$info[
'name']] = $info[
'translation'];
102 return (
string) $course->organisation;
105 return (
string) $course->term;
108 return (
string) $course->title;
111 foreach((array) $course->groups as $group)
113 foreach((array) $group->lecturers as $lecturer)
115 return (
string) ($lecturer->lastName.
', '. $lecturer->firstName);
121 return (
string) $course->lectureType;
123 case 'degreeProgramme':
124 foreach((array) $course->degreeProgrammes as $prog)
126 return (
string) $prog->title;
131 foreach((array) $course->modules as $mod)
133 return (
string) $mod->title;
138 foreach((array) $course->groups as $group)
140 foreach((array) $group->datesAndVenues as $venue)
142 return (
string) $venue->venue;
156 include_once
'./Services/Membership/classes/class.ilParticipants.php';
160 'lang' =>
'il_crs_admin',
166 'lang' =>
'il_crs_tutor',
172 'lang' =>
'il_crs_member',
178 'lang' =>
'il_grp_admin',
184 'lang' =>
'il_grp_member',
189 if(!$a_role_type_info)
195 return $roles[$a_role_type_info];