Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_course\output\activity_completion Class Reference
Inheritance diagram for core_course\output\activity_completion:
renderable templatable

Public Member Functions

 __construct (protected cm_info $cminfo, protected cm_completion_details $cmcompletion)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Constructor & Destructor Documentation

◆ __construct()

core_course\output\activity_completion::__construct ( protected cm_info $cminfo,
protected cm_completion_details $cmcompletion )

Constructor.

Parameters
cm_info$cminfoThe course module information.
cm_completion_details$cmcompletionThe course module information.

Member Function Documentation

◆ export_for_template()

core_course\output\activity_completion::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$outputRenderer base.
Return values
stdClass

Implements templatable.


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