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

Public Member Functions

 __construct (int $courseid, moodle_url $pageurl)
 The class constructor.
 
 export_for_template (renderer_base $output)
 Export the data for the mustache template.
 

Constructor & Destructor Documentation

◆ __construct()

core_course\output\completion_action_bar::__construct ( int $courseid,
moodle_url $pageurl )

The class constructor.

Parameters
int$courseidThe course id.
moodle_url$pageurlThe URL of the current page.

Member Function Documentation

◆ export_for_template()

core_course\output\completion_action_bar::export_for_template ( renderer_base $output)

Export the data for the mustache template.

Parameters
renderer_base$outputrenderer to be used to render the action bar elements.
Return values
arrayThe array which contains the data required to output the tertiary navigation selector for the course completion pages.

Implements templatable.


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