Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
mod_workshop\output\actionbar Class Reference
Inheritance diagram for mod_workshop\output\actionbar:

Public Member Functions

 __construct (moodle_url $currenturl, workshop $workshop)
 actionbar constructor.
 
 export_for_template (renderer_base $output)
 Export the data so it can be used as the context for a mustache template.
 

Constructor & Destructor Documentation

◆ __construct()

mod_workshop\output\actionbar::__construct ( moodle_url $currenturl,
workshop $workshop )

actionbar constructor.

Parameters
moodle_url$currenturlThe current URL.
workshop$workshopThe workshop object.

Member Function Documentation

◆ export_for_template()

mod_workshop\output\actionbar::export_for_template ( renderer_base $output)

Export the data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
arrayThe urlselect menu and the heading to be used

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