You are here

public function CourseObject::getUrl in Course 7

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

Return the URL to the course object router.

1 call to CourseObject::getUrl()
CourseObject::buildContent in includes/CourseObject.inc
Builds a structured array representing the entity's content.

File

includes/CourseObject.inc, line 624

Class

CourseObject
Parent abstract base class of all course objects.

Code

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