Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_scorm\report Class Reference
Inheritance diagram for mod_scorm\report:
scormreport_basic\report scormreport_graphs\report scormreport_interactions\report scormreport_objectives\report

Public Member Functions

 canview ($contextmodule)
 allows the plugin to control who can see this plugin.
 
 display ($scorm, $cm, $course, $download)
 displays the full report
 

Protected Member Functions

 generate_delete_selected_button ()
 Generates an action button that deletes the selected attempts.
 
 generate_master_checkbox ()
 Generates a checkbox that can be added to header tables to select/deselect all quiz attempts.
 
 generate_row_checkbox (string $name, string $value)
 Generates a checkbox for a row in the attempts table.
 

Member Function Documentation

◆ canview()

mod_scorm\report::canview ( $contextmodule)

allows the plugin to control who can see this plugin.

Return values
boolean

◆ display()

mod_scorm\report::display ( $scorm,
$cm,
$course,
$download )

displays the full report

Parameters
stdClass$scormfull SCORM object
stdClass$cm- full course_module object
stdClass$course- full course object
string$download- type of download being requested

Reimplemented in scormreport_basic\report, scormreport_graphs\report, scormreport_interactions\report, and scormreport_objectives\report.

◆ generate_master_checkbox()

mod_scorm\report::generate_master_checkbox ( )
protected

Generates a checkbox that can be added to header tables to select/deselect all quiz attempts.

Return values
string

◆ generate_row_checkbox()

mod_scorm\report::generate_row_checkbox ( string $name,
string $value )
protected

Generates a checkbox for a row in the attempts table.

Parameters
string$nameThe checkbox's name attribute.
string$valueThe checkbox's value.
Return values
string

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