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