You are here

public function CourseObjectWebform::getReports in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::getReports()
  2. 7 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::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_webform/course_webform.classes.inc, line 29

Class

CourseObjectWebform
Parent class for webform course tracking.

Code

public function getReports() {
  return array(
    'submissions' => array(
      'title' => 'Submissions',
    ),
    'analysis' => array(
      'title' => 'Analysis',
    ),
    'download' => array(
      'title' => 'Download',
    ),
  );
}