|
| display ($quiz, $cm, $course) |
| Override this function to display the report.
|
|
| get_current_group ($cm, $course, $context) |
| Get the current group for the user user looking at the report.
|
|
| print_header_and_tabs ($cm, $course, $quiz, $reportmode='overview') |
| Initialise some parts of $PAGE and start output.
|
|
|
int const | NO_GROUPS_ALLOWED = -2 |
| special value used in place of groupid, to mean the use cannot access any groups.
|
|
◆ display()
mod_quiz\local\reports\report_base::display |
( |
| $quiz, |
|
|
| $cm, |
|
|
| $course ) |
|
abstract |
◆ get_current_group()
mod_quiz\local\reports\report_base::get_current_group |
( |
| $cm, |
|
|
| $course, |
|
|
| $context ) |
Get the current group for the user user looking at the report.
- Parameters
-
stdClass | $cm | the course_module information. |
stdClass | $course | the course settings. |
context | $context | the quiz context. |
- Return values
-
int | the current group id, if applicable. 0 for all users, NO_GROUPS_ALLOWED if the user cannot see any group. |
◆ print_header_and_tabs()
mod_quiz\local\reports\report_base::print_header_and_tabs |
( |
| $cm, |
|
|
| $course, |
|
|
| $quiz, |
|
|
| $reportmode = 'overview' ) |
Initialise some parts of $PAGE and start output.
- Parameters
-
stdClass | $cm | the course_module information. |
stdClass | $course | the course settings. |
stdClass | $quiz | the quiz settings. |
string | $reportmode | the report name. |
Reimplemented in quiz_grading_report.
The documentation for this class was generated from the following file:
- mod/quiz/classes/local/reports/report_base.php