public function CourseObjectPoll::getReports in Course 6
Same name and namespace in other branches
- 7.2 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::getReports()
- 7 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::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_poll/ course_poll.classes.inc, line 32
Class
- CourseObjectPoll
- Parent class for poll tracking.
Code
public function getReports() {
return array(
'results' => array(
'title' => 'Results',
),
'all' => array(
'title' => 'List votes',
),
);
}