MDL-69549 core: Add context export API
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 24 Sep 2020 04:25:31 +0000 (12:25 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 15 Oct 2020 05:45:58 +0000 (13:45 +0800)
commitdeb400c6bf4c9238a81e96960b1573b988df629a
treef0cfc81c078c60b4878c42afe0e8c6af24828d21
parent11b094be4c8c6b58a745149fd0006a3f198b2e86
MDL-69549 core: Add context export API
20 files changed:
lang/en/moodle.php
lib/classes/content.php [new file with mode: 0644]
lib/classes/content/export/exportable_item.php [new file with mode: 0644]
lib/classes/content/export/exportable_items/exportable_filearea.php [new file with mode: 0644]
lib/classes/content/export/exportable_items/exportable_stored_file.php [new file with mode: 0644]
lib/classes/content/export/exportable_items/exportable_textarea.php [new file with mode: 0644]
lib/classes/content/export/exported_item.php [new file with mode: 0644]
lib/classes/content/export/exporters/abstract_mod_exporter.php [new file with mode: 0644]
lib/classes/content/export/exporters/component_exporter.php [new file with mode: 0644]
lib/classes/content/export/exporters/course_exporter.php [new file with mode: 0644]
lib/classes/content/export/zipwriter.php [new file with mode: 0644]
lib/templates/content/export/course_index.mustache [new file with mode: 0644]
lib/templates/content/export/course_summary.mustache [new file with mode: 0644]
lib/templates/content/export/external_page.mustache [new file with mode: 0644]
lib/templates/content/export/module_index.mustache [new file with mode: 0644]
lib/tests/content/export/exportable_items/exportable_filearea_test.php [new file with mode: 0644]
lib/tests/content/export/exportable_items/exportable_stored_file_test.php [new file with mode: 0644]
lib/tests/content/export/exportable_items/exportable_textarea_test.php [new file with mode: 0644]
lib/tests/content/export/exporters/course_exporter_test.php [new file with mode: 0644]
lib/tests/content/export/zipwriter_test.php [new file with mode: 0644]