31 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
36 $learners = $participants->getMembers();
37 $retval =
array($output_params[0] => $learners);
61 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
66 $tutors = $participants->getTutors();
67 $retval =
array($output_params[0] => $tutors);
91 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
96 $admins = $participants->getAdmins();
97 $retval =
array($output_params[0] => $admins);
125 require_once
'./Modules/Course/classes/class.ilObjCourse.php';
128 $course_object->setType(
'crs');
129 $course_object->setTitle($input_params[
'crsTitle']);
130 $course_object->setDescription(
"");
131 $course_object->create(
true);
132 $course_object->createReference();
133 $course_object->putInTree($input_params[
'destRefId']);
134 $course_object->setPermissions($input_params[
'destRefId']);
136 $retval =
array($output_params[0] => $course_object->getRefId());
160 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
165 foreach ($input_params[
'usrIdList'] as $user_id) {
189 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
194 foreach ($input_params[
'usrIdList'] as $user_id) {
217 require_once
'./Modules/Course/classes/class.ilCourseParticipants.php';
222 foreach ($input_params[
'usrIdList'] as $user_id) {
static assignTutorsToCourse($context, $params)
static _getInstanceByObjId($a_obj_id)
Get singleton instance.
static readTutorsFromCourse($context, $params)
static _lookupObjectId($a_ref_id)
lookup object id
static readLearnersFromCourse($context, $params)
static readAdminsFromCourse($context, $params)
const IL_CRS_ADMIN
Base class for course and group participants.
Create styles array
The data for the language used.
Class ilModulesCourseTasks.
static assignLearnersToCourse($context, $params)
static createCourse($context, $params)
static assignAdminsToCourse($context, $params)