See Release Notes
Long Term Support Release
Contains the course_content_items_exporter class.
Copyright: | 2020 Jake Dallimore <jrhdallimore@gmail.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 108 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
course_content_items_exporter:: (4 methods):
__construct()
define_properties()
get_other_values()
define_related()
Class: course_content_items_exporter - X-Ref
The course_content_items_exporter class.__construct(array $contentitems, array $related) X-Ref |
The course_content_items_exporter constructor. param: array $contentitems the array of \core_course\local\entity\content_item objects to export. param: array $related any related objects, see define_related for what's expected. |
define_properties() X-Ref |
Return the properties defining this export. return: array the array of properties. |
get_other_values(\renderer_base $output) X-Ref |
Generate and return the data for this export. param: \renderer_base $output return: array the array of course content_items |
define_related() X-Ref |
Define the list of related objects, used by this exporter. return: array the list of related objects. |