moodle-quiz_export
This is a quiz report plugin for moodle to export quiz attempts as pdf. Single quiz attempt exports are possible as well as bulk exports as zip files.
It has been designed to work with mpdf package.
Dependencies:
Installation:
- switch to /path/to/moodle/mod/quiz/report/
- execute git clone export
- composer install
- on moodle page go to "Site Administration" -> "Notifications" and follow the instructions
Technical Information:
- this plugin saves html, pdf and zip files temporary in the folder returned by sys_get_temp_dir() PHP function.
- zip archives are generated with the ZipArchive class
Practical information:
- Open a quiz page. Then click on the cog and choose "Quiz exporting" (or "Export de quiz" in french)
- On this page, you can choose the export options, then select one (or more) attempts to export (it will be downloaded as zip if more than one attempt has been selected)
Copyright
This plugin is strongly based on this plugin. It has been modified to use mpdf instead of wkhtmltopdf.