function course_object_single_report_link in Course 6
Same name and namespace in other branches
- 8.3 includes/course.reports.inc \course_object_single_report_link()
- 8.2 includes/course.reports.inc \course_object_single_report_link()
- 7.2 includes/course.reports.inc \course_object_single_report_link()
- 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 63 - 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}");
}