function CourseObject::getCourseNid in Course 7
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::getCourseNid()
- 7.2 includes/CourseObject.inc \CourseObject::getCourseNid()
Get the course node ID this CourseObject belongs to.
Return value
int
16 calls to CourseObject::getCourseNid()
- CourseObject::access in includes/
CourseObject.inc - Access functionality for course objects.
- CourseObject::getReport in includes/
CourseObject.inc - Let the course object provide its own reports.
- CourseObject::getUrl in includes/
CourseObject.inc - Return the URL to the course object router.
- CourseObject::optionsForm in includes/
CourseObject.inc - Default options form for all course objects.
- CourseObject::optionsSubmit in includes/
CourseObject.inc - Save object configs to cache.
File
- includes/
CourseObject.inc, line 747
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getCourseNid() {
return intval($this
->getOption('nid'));
}