The activity information renderable class.
More...
|
array | $activitydates = [] |
| The array of relevant dates for this activity.
|
|
cm_completion_details | $cmcompletion = null |
| The user's completion details for this activity.
|
|
cm_info | $cminfo = null |
| The course module information.
|
|
The activity information renderable class.
- Copyright
- 2021 Jun Pataleta jun@m.nosp@m.oodl.nosp@m.e.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
Constructor.
- Parameters
-
cm_info | $cminfo | The course module information. |
cm_completion_details | $cmcompletion | The course module information. |
array | $activitydates | The activity dates. |
◆ build_completion_data()
core_course\output\activity_information::build_completion_data |
( |
| ) |
|
|
protected |
Builds the completion data for export.
- Return values
-
◆ build_dates_data()
core_course\output\activity_information::build_dates_data |
( |
stdClass | $data | ) |
|
|
protected |
Builds the dates data for export.
- Parameters
-
◆ export_for_template()
core_course\output\activity_information::export_for_template |
( |
renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file:
- course/classes/output/activity_information.php