June 2017
Beginner to intermediate
368 pages
8h 31m
English
A new Ad-hoc database query has been configured to allow the currently logged in user to see which courses they have completed:

The Ad-hoc database queries plugin provides an option to output selected data to a Comma Separated Variable (CSV) file:

The CSV file is output directly to the browser from the /customsql/download.php script. Moodle does, however, possess its own internal API for generating standard-format data output files, including CSV files, based on the PHPExcel library. Let's investigate this library now.
Read now
Unlock full access