function CourseObject::setId in Course 7.2
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::setId()
- 7 includes/CourseObject.inc \CourseObject::setId()
Set the internal course object ID.
Parameters
int $coid: ID of the course object.
1 call to CourseObject::setId()
- CourseObject::save in includes/
CourseObject.inc - Let objects create their instances before saving the course object.
File
- includes/
CourseObject.inc, line 900
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function setId($coid) {
return $this
->setOption('coid', $coid);
}