Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
|
Base class for quiz report plugins. More...
Classes | |
class | mod_quiz\local\reports\report_base |
Namespaces | |
namespace | mod_quiz\local\reports |
| |
Base class for quiz report plugins.
Doesn't do anything on its own – it needs to be extended. This class displays quiz reports. Because it is called from within /mod/quiz/report.php you can assume that the page header and footer are taken care of.
This file can refer to itself as report.php to pass variables to itself - all these will also be globally available. You must pass "id=$cm->id" or q=$quiz->id", and "mode=reportname". @copyright 1999 onwards Martin Dougiamas and others <a class="el externalurl" href="http://moodle.com">