Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core_course\local\exporters\course_content_items_exporter Class Reference

The course_content_items_exporter class. More...

Inheritance diagram for core_course\local\exporters\course_content_items_exporter:

Public Member Functions

 __construct (array $contentitems, array $related)
 The course_content_items_exporter constructor.
 

Static Public Member Functions

static define_properties ()
 Return the properties defining this export.
 

Protected Member Functions

 get_other_values (\renderer_base $output)
 Generate and return the data for this export.
 

Static Protected Member Functions

static define_related ()
 Define the list of related objects, used by this exporter.
 

Detailed Description

The course_content_items_exporter class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_course\local\exporters\course_content_items_exporter::__construct ( array $contentitems,
array $related )

The course_content_items_exporter constructor.

Parameters
array$contentitemsthe array of core_course\local\entity\content_item objects to export.
array$relatedany related objects, see define_related for what's expected.

Member Function Documentation

◆ define_properties()

static core_course\local\exporters\course_content_items_exporter::define_properties ( )
static

Return the properties defining this export.

Return values
arraythe array of properties.

◆ define_related()

static core_course\local\exporters\course_content_items_exporter::define_related ( )
staticprotected

Define the list of related objects, used by this exporter.

Return values
arraythe list of related objects.

◆ get_other_values()

core_course\local\exporters\course_content_items_exporter::get_other_values ( \renderer_base $output)
protected

Generate and return the data for this export.

Parameters
renderer_base$output
Return values
arraythe array of course content_items

The documentation for this class was generated from the following file: