public function CourseObjectWebform::getReports in Course 7
Same name and namespace in other branches
- 6 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::getReports()
- 7.2 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 20
Class
- CourseObjectWebform
- Parent class for webform course tracking.
Code
public function getReports() {
$reports = parent::getReports();
$reports += array(
'submissions' => array(
'title' => t('Submissions'),
),
'analysis' => array(
'title' => t('Analysis'),
),
'download' => array(
'title' => t('Download'),
),
);
return $reports;
}