You are here

function CourseObject::getCourseNid in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseObject.inc \CourseObject::getCourseNid()
  2. 7 includes/CourseObject.inc \CourseObject::getCourseNid()

Get the course node ID this CourseObject belongs to.

Return value

int

13 calls to CourseObject::getCourseNid()
CourseObject::access in includes/course_object.core.inc
Access functionality for course objects.
CourseObject::getCourse in includes/course_object.core.inc
Get the Course that contains this CourseObject.
CourseObject::getUrl in includes/course_object.core.inc
Return the URL to the course object router.
CourseObject::optionsSubmit in includes/course_object.core.inc
Save object configs to cache.
CourseObject::takeCourseObject in includes/course_object.core.inc
Take a course object.

... See full list

File

includes/course_object.core.inc, line 689

Class

CourseObject
Parent abstract base class of all course objects.

Code

function getCourseNid() {
  return intval($this
    ->getOption('nid'));
}