Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_completion\external\completion_info_exporter Class Reference
Inheritance diagram for core_completion\external\completion_info_exporter:

Public Member Functions

 __construct (object $course, object $cm, int $userid, array $related=[])
 Constructor for the completion info exporter.
 

Static Public Member Functions

static define_other_properties ()
 Return the list of additional properties used only for display.
 

Protected Member Functions

 get_other_values (renderer_base $output)
 Get the additional values to inject while exporting.
 

Constructor & Destructor Documentation

◆ __construct()

core_completion\external\completion_info_exporter::__construct ( object $course,
object $cm,
int $userid,
array $related = [] )

Constructor for the completion info exporter.

Parameters
object$coursecourse object
object | cm_info$cmcourse module info
int$useriduser id
array$relatedrelated values

Member Function Documentation

◆ define_other_properties()

static core_completion\external\completion_info_exporter::define_other_properties ( )
static

Return the list of additional properties used only for display.

Return values
arrayKeys are the property names, and value their definition.

◆ get_other_values()

core_completion\external\completion_info_exporter::get_other_values ( renderer_base $output)
protected

Get the additional values to inject while exporting.

Parameters
renderer_base$outputThe renderer.
Return values
arrayKeys are the property names, values are their values.

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