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

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.
 

Constructor & Destructor Documentation

◆ __construct()

mod_scorm\output\userreportsactionbar::__construct ( int $id,
int $userid,
int $attempt,
string $reporttype,
string $mode,
?int $scoid = null )

userreportsactionbar constructor

Parameters
int$idCourse module id.
int$useridUser id.
int$attemptNumber of attempts.
string$reporttypeThe report type can be either learning/interact.
string$modeThe mode view to set the back button.
int | null$scoidThe scorm id.

Member Function Documentation

◆ export_for_template()

mod_scorm\output\userreportsactionbar::export_for_template ( renderer_base $output)

Provide data for the template.

Parameters
renderer_base$outputrenderer_base object.
Return values
arraydata for the template.

Implements templatable.


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