You are here

public function CourseObjectSignup::getReports in Course 7

Same name and namespace in other branches
  1. 6 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::getReports()
  2. 7.2 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::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.

Overrides CourseObject::getReports

See also

CourseObjectQuiz::getReports()

File

modules/course_signup/course_signup.classes.inc, line 52

Class

CourseObjectSignup

Code

public function getReports() {
  $reports = parent::getReports();
  $reports += array(
    'attendance' => array(
      'title' => t('Attendance'),
    ),
  );
  return $reports;
}