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

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

Implements templatable.


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