Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: