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

Public Member Functions

 __construct (int $id, url_select $urlselect, bool $hasentries, string $mode)
 The class constructor.
 
 export_for_template (\renderer_base $output)
 Export the data for the mustache template.
 

Constructor & Destructor Documentation

◆ __construct()

mod_data\output\view_action_bar::__construct ( int $id,
url_select $urlselect,
bool $hasentries,
string $mode )

The class constructor.

Parameters
int$idThe database module id.
url_select$urlselectThe URL selector object.
bool$hasentriesWhether entries exist.
string$modeThe current view mode (list, view...).

Member Function Documentation

◆ export_for_template()

mod_data\output\view_action_bar::export_for_template ( \renderer_base $output)

Export the data for the mustache template.

Parameters
renderer_base$outputThe renderer to be used to render the action bar elements.
Return values
array

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