Class ilModulesCourseTasks.
More...
◆ assignAdminsToCourse()
static ilModulesCourseTasks::assignAdminsToCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
◆ assignLearnersToCourse()
static ilModulesCourseTasks::assignLearnersToCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
◆ assignTutorsToCourse()
static ilModulesCourseTasks::assignTutorsToCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
◆ createCourse()
static ilModulesCourseTasks::createCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
- Parameters
-
- Returns
- array
Definition at line 108 of file class.ilModulesCourseTasks.php.
109 {
110
111
112
113
114
115
116
117
118
119
120
121
124
125 require_once './Modules/Course/classes/class.ilObjCourse.php';
126
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']);
135
136 $retval = array($output_params[0] => $course_object->getRefId());
137
138 return $retval;
139 }
References $params.
◆ readAdminsFromCourse()
static ilModulesCourseTasks::readAdminsFromCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
◆ readLearnersFromCourse()
static ilModulesCourseTasks::readLearnersFromCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
◆ readTutorsFromCourse()
static ilModulesCourseTasks::readTutorsFromCourse |
( |
|
$context, |
|
|
|
$params |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: