Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: