]> git.mjollnir.org Git - moodle.git/commit
MDL-19142: assignment/backup add support for third party subtypes
authormjollnir_ <mjollnir_>
Tue, 11 Aug 2009 12:20:08 +0000 (12:20 +0000)
committermjollnir_ <mjollnir_>
Tue, 11 Aug 2009 12:20:08 +0000 (12:20 +0000)
commitf3902806657c4b1708c1f20f1403b189821f891a
treeb9004217fd60b2a410132d509c8c9667aefc35bf
parentae4a98a108e7e9464ad47f0ded7b0b1d69d172be
MDL-19142: assignment/backup add support for third party subtypes

Now third party assignment type subplugin authors can implement backup/restore

This adds four hooks, backup_one_mod, backup_one_submission, restore_one_mod, restore_one_submission,
all of which are implemented in the assignment_base parent class and documented there.

Merged from MOODLE_19_STABLE.  Backup is broken in HEAD but Eloy asked me to merge it anyway.
mod/assignment/backuplib.php
mod/assignment/lib.php
mod/assignment/restorelib.php