Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Member Functions | List of all members
scormreport_objectives\report Class Reference

Objectives report class. More...

Inheritance diagram for scormreport_objectives\report:
mod_scorm\report

Public Member Functions

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

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. More...
 
 generate_row_checkbox (string $name, string $value)
 Generates a checkbox for a row in the attempts table. More...
 

Detailed Description

Objectives report class.

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

Member Function Documentation

◆ canview()

mod_scorm\report::canview (   $contextmodule)
inherited

allows the plugin to control who can see this plugin.

Return values
boolean

◆ display()

scormreport_objectives\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 from mod_scorm\report.

◆ generate_master_checkbox()

mod_scorm\report::generate_master_checkbox ( )
protectedinherited

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 
)
protectedinherited

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: