You are here

function CourseObject::getReports in Course 7.2

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

Let the course object provide its own reports.

Return value

array An array indexed by report key, containing 'title' which is the menu link in the course object reports.

See also

CourseObjectQuiz::getReports()

4 calls to CourseObject::getReports()
CourseObjectPoll::getReports in modules/course_poll/course_poll.classes.inc
Let the course object provide its own reports.
CourseObjectQuiz::getReports in modules/course_quiz/course_quiz.classes.inc
Let the course object provide its own reports.
CourseObjectSignup::getReports in modules/course_signup/course_signup.classes.inc
Let the course object provide its own reports.
CourseObjectWebform::getReports in modules/course_webform/course_webform.classes.inc
Let the course object provide its own reports.
4 methods override CourseObject::getReports()
CourseObjectPoll::getReports in modules/course_poll/course_poll.classes.inc
Let the course object provide its own reports.
CourseObjectQuiz::getReports in modules/course_quiz/course_quiz.classes.inc
Let the course object provide its own reports.
CourseObjectSignup::getReports in modules/course_signup/course_signup.classes.inc
Let the course object provide its own reports.
CourseObjectWebform::getReports in modules/course_webform/course_webform.classes.inc
Let the course object provide its own reports.

File

includes/CourseObject.inc, line 962

Class

CourseObject
Parent abstract base class of all course objects.

Code

function getReports() {
  return array(
    'default' => array(
      'title' => 'Overview',
    ),
  );
}