moodle/backup/moodle2
Russell Smith 3e7e2ab2ee MDL-40618 backup: centralize info field, use info in queries.
encode_backup_temp_info() and decode_backup_temp_info() have been
introduced to keep the info field encoding in one place.
Many locations used get_backup_ids_record() to obtain info, that
makes lots of calls to get_backup_ids_record() which can be slow.
We now complete all those inline by adding the info field to the query.
To reduce memory usage, all queries of that nature have been changed
to use get_recordset_*. gzcompress was introduced if available to minimize
traffic to/from the database and to decrease the memory required for caching.
The compression time is saved by the benefits in other places of having smaller data.
2013-07-23 19:50:53 +10:00
..
backup_activity_task.class.php MDL-36777 usability: Theming fixes on backup steps 2012-11-30 16:53:39 +08:00
backup_block_task.class.php MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
backup_course_task.class.php MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
backup_coursereport_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_custom_fields.php MDL-28346 Backup: Backup does not fail when a file is missing 2012-09-03 14:13:11 +08:00
backup_default_block_task.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_final_task.class.php MDL-39558 badges: Add backup/restore to course badges 2013-07-03 09:35:06 +08:00
backup_format_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_gradingform_plugin.class.php MDL-30998: updated docblocks for backup of advanced grading 2013-01-14 15:14:54 +11:00
backup_local_plugin.class.php MDL-17444: Backup hooks for local plugin (CR) 2012-11-06 15:37:08 -08:00
backup_plagiarism_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_plan_builder.class.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
backup_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_qtype_plugin.class.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
backup_report_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_root_task.class.php MDL-39558 badges: Prevent backup of badges without user information 2013-07-03 10:52:50 +08:00
backup_section_task.class.php MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
backup_settingslib.php MDL-39558 badges: Add backup/restore to course badges 2013-07-03 09:35:06 +08:00
backup_stepslib.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
backup_subplugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_theme_plugin.class.php MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
backup_xml_transformer.class.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
restore_activity_task.class.php MDL-36777 usability: Theming fixes on backup steps 2012-11-30 16:53:39 +08:00
restore_block_task.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_course_task.class.php MDL-28394 fix enrolment method restore logic 2013-06-07 10:02:59 +02:00
restore_coursereport_plugin.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_default_block_task.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_final_task.class.php MDL-39558 badges: Add backup/restore of manually awarded badges 2013-07-03 09:36:45 +08:00
restore_format_plugin.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_gradingform_plugin.class.php MDL-30998: updated docblocks for backup of advanced grading 2013-01-14 15:14:54 +11:00
restore_local_plugin.class.php MDL-17444: Backup hooks for local plugin (CR) 2012-11-06 15:37:08 -08:00
restore_plagiarism_plugin.class.php MDL-17444: Backup hooks for local plugin 2012-11-06 10:49:41 -08:00
restore_plan_builder.class.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
restore_plugin.class.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
restore_qtype_plugin.class.php MDL-30018 restore: better answer matching. Credit goes to Tyler Bannister, thanks! 2012-09-09 20:29:26 +02:00
restore_report_plugin.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_root_task.class.php MDL-39558 badges: Add backup/restore of manually awarded badges 2013-07-03 09:36:45 +08:00
restore_section_task.class.php MDL-34727 restore UI: use checkboxes for userdata. 2012-08-07 11:36:09 +01:00
restore_settingslib.php MDL-39558 badges: Add backup/restore to course badges 2013-07-03 09:35:06 +08:00
restore_stepslib.php MDL-40618 backup: centralize info field, use info in queries. 2013-07-23 19:50:53 +10:00
restore_subplugin.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
restore_theme_plugin.class.php MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00