Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
mod_scorm_renderer Class Reference

The renderer for the scorm module. More...

Inheritance diagram for mod_scorm_renderer:

Public Member Functions

 generate_exitbar (string $url)
 Generate the SCORM's "Exit activity" button.
 
 report_actionbar (\mod_scorm\output\actionbar $actionbar)
 Rendered HTML for the report action is provided.
 
 user_report_actionbar (\mod_scorm\output\userreportsactionbar $userreportsactionbar)
 Rendered HTML for the user report action is provided.
 
 view_user_heading ($user, $course, $baseurl, $attempt, $attemptids)
 

Protected Member Functions

 render_mod_scorm_attempt_bar (mod_scorm_attempt_bar $attemptbar)
 scorm attempt bar renderer
 

Detailed Description

The renderer for the scorm module.

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

Member Function Documentation

◆ generate_exitbar()

mod_scorm_renderer::generate_exitbar ( string $url)

Generate the SCORM's "Exit activity" button.

Parameters
string$urlThe url to be hooked up to the exit button
Return values
string

◆ render_mod_scorm_attempt_bar()

mod_scorm_renderer::render_mod_scorm_attempt_bar ( mod_scorm_attempt_bar $attemptbar)
protected

scorm attempt bar renderer

Parameters
mod_scorm_attempt_bar$attemptbar
Return values
string

◆ report_actionbar()

mod_scorm_renderer::report_actionbar ( \mod_scorm\output\actionbar $actionbar)

Rendered HTML for the report action is provided.

Parameters
mod_scorm\output\actionbar$actionbaractionbar object.
Return values
bool|stringrendered HTML for the report action.

◆ user_report_actionbar()

mod_scorm_renderer::user_report_actionbar ( \mod_scorm\output\userreportsactionbar $userreportsactionbar)

Rendered HTML for the user report action is provided.

Parameters
mod_scorm\output\userreportsactionbar$userreportsactionbaruserreportsactionbar object
Return values
stringrendered HTML for the user report action.

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