June 2017
Beginner to intermediate
368 pages
8h 31m
English
When a course is backed up, then, quite sensibly, it is the responsibility of each individual plugin to handle the backing up and the restoring of each instance of that plugin belonging to the course. To register that we support Backup and Restore, in the /lib.php callback function wavefront_supports($feature), we need to ensure we set the FEATURE_BACKUP_MOODLE2 flag to true (refer to the section, Plugin library callbacks, earlier in this chapter).
In order to implement the functionality, there are four scripts we need to create:

Read now
Unlock full access