MDL-67585 core_course: add exporter for course content items
authorJake Dallimore <jake@moodle.com>
Tue, 21 Jan 2020 03:04:54 +0000 (11:04 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 20 Feb 2020 01:28:57 +0000 (09:28 +0800)
commiteec2d09f84d47ef1118b530583da781a844f5117
tree960fb5fbd964918516277c520bed73a9a6508387
parent7c7ae1bd6f8d099dd2dee42c5321e0d7f74334f9
MDL-67585 core_course: add exporter for course content items

An exporter will allow let us add calculated fields like 'favourited'
to the data being transferred.
course/classes/local/exporters/course_content_item_exporter.php [new file with mode: 0644]
course/classes/local/exporters/course_content_items_exporter.php [new file with mode: 0644]
course/tests/exporters_content_item_test.php [new file with mode: 0644]
course/tests/exporters_content_items_test.php [new file with mode: 0644]