You are here

public function CourseObject::getUrl in Course 6

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

Return the URL to the course object router.

File

includes/course_object.core.inc, line 601

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function getUrl() {
  return 'node/' . $this
    ->getCourseNid() . '/course-object/' . $this
    ->getId();
}