function CourseObject::getReport in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::getReport()
- 7 includes/CourseObject.inc \CourseObject::getReport()
Let the course object provide its own reports.
Return value
array An array containing:
- title: The title of this report as show on the page
- content: Content to be displayed.
- url: URL to be loaded in an iframe.
Reports should return either 'content' or 'url'.
See also
CourseObjectQuiz::getReports()
4 methods override CourseObject::getReport()
- CourseObjectPoll::getReport in modules/
course_poll/ course_poll.classes.inc - Let the course object provide its own reports.
- CourseObjectQuiz::getReport in modules/
course_quiz/ course_quiz.classes.inc - Let the course object provide its own reports.
- CourseObjectSignup::getReport in modules/
course_signup/ course_signup.classes.inc - Let the course object provide its own reports.
- CourseObjectWebform::getReport in modules/
course_webform/ course_webform.classes.inc - Let the course object provide its own reports.
File
- includes/
course_object.core.inc, line 881
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getReport($key) {
return array();
}