Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_course\output\activity_completion Class Reference

The activity completion renderable class. More...

Inheritance diagram for core_course\output\activity_completion:

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.
 

Detailed Description

The activity completion renderable class.

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

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: