Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_scorm\output\actionbar Class Reference
Inheritance diagram for mod_scorm\output\actionbar:
renderable templatable

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: