Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: