Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Render HTML elements for reports page on tertiary nav. More...
Public Member Functions | |
__construct (int $id, int $userid, int $attempt, string $reporttype, string $mode, ?int $scoid=null) | |
userreportsactionbar constructor | |
export_for_template (renderer_base $output) | |
Provide data for the template. | |
Render HTML elements for reports page on tertiary nav.
mod_scorm\output\userreportsactionbar::__construct | ( | int | $id, |
int | $userid, | ||
int | $attempt, | ||
string | $reporttype, | ||
string | $mode, | ||
?int | $scoid = null ) |
userreportsactionbar constructor
int | $id | Course module id. |
int | $userid | User id. |
int | $attempt | Number of attempts. |
string | $reporttype | The report type can be either learning/interact. |
string | $mode | The mode view to set the back button. |
int | null | $scoid | The scorm id. |
mod_scorm\output\userreportsactionbar::export_for_template | ( | renderer_base | $output | ) |
Provide data for the template.
renderer_base | $output | renderer_base object. |
array | data for the template. |
Implements templatable.