Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Public Member Functions | List of all members
mod_scorm\output\actionbar Class Reference
Inheritance diagram for mod_scorm\output\actionbar:

Public Member Functions

 __construct (int $id, bool $download=false, int $attemptsmode=0)
 actionbar constructor.
 
 export_for_template (renderer_base $output)
 Provide data for the template.
 

Constructor & Destructor Documentation

◆ __construct()

mod_scorm\output\actionbar::__construct ( int  $id,
bool  $download = false,
int  $attemptsmode = 0 
)

actionbar constructor.

Parameters
int$idThe course module id.
bool$downloadShow download button or not.
int$attemptsmodeattempts mode for scorm.

Member Function Documentation

◆ export_for_template()

mod_scorm\output\actionbar::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: