Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_question\output\qbank_action_menu Class Reference
Inheritance diagram for core_question\output\qbank_action_menu:
templatable renderable

Public Member Functions

 __construct (moodle_url $currenturl)
 qbank_actionbar constructor.
 
 export_for_template (renderer_base $output)
 Provides the data for the template.
 
 set_action_button (moodle_url $url, string $label)
 Set the properties of an additional action button specific to the current page.
 

Protected Attributes

string string $actionlabel = null
 $actionlabel Label for additional action button

 
moodle_url moodle_url $actionurl = null
 $actionurl URL for additional action button
 

Constructor & Destructor Documentation

◆ __construct()

core_question\output\qbank_action_menu::__construct ( moodle_url $currenturl)

qbank_actionbar constructor.

Parameters
moodle_url$currenturlThe current URL.

Member Function Documentation

◆ export_for_template()

core_question\output\qbank_action_menu::export_for_template ( renderer_base $output)

Provides the data for the template.

Parameters
renderer_base$outputrenderer_base object.
Return values
arraydata for the template

Implements templatable.

◆ set_action_button()

core_question\output\qbank_action_menu::set_action_button ( moodle_url $url,
string $label )

Set the properties of an additional action button specific to the current page.

Parameters
moodle_url$url
string$label
Return values
void

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