You are here

function CourseObject::setId in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseObject.inc \CourseObject::setId()
  2. 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/course_object.core.inc
Let objects create their instances before saving the course object.

File

includes/course_object.core.inc, line 773

Class

CourseObject
Parent abstract base class of all course objects.

Code

function setId($coid) {
  return $this
    ->setOption('coid', $coid);
}