You are here

function course_object_single_report_link in Course 7.2

Same name and namespace in other branches
  1. 8.3 includes/course.reports.inc \course_object_single_report_link()
  2. 8.2 includes/course.reports.inc \course_object_single_report_link()
  3. 6 includes/course.reports.inc \course_object_single_report_link()
  4. 7 includes/course.reports.inc \course_object_single_report_link()

Return a link to a report as HTML.

1 call to course_object_single_report_link()
course_object_reports_page in includes/course.reports.inc
Page handler for course object reports.

File

includes/course.reports.inc, line 81
course.reports.inc Reporting framework for course objects.

Code

function course_object_single_report_link($courseObject, $key, $report) {
  return l($report['title'], "node/{$courseObject->getCourseNid()}/course-reports/objects/{$courseObject->getId()}/{$key}");
}