Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
gradereport_singleview\output\action_bar Class Reference

Renderable class for the action bar elements in the single view report page. More...

Inheritance diagram for gradereport_singleview\output\action_bar:

Public Member Functions

 __construct (\context $context, singleview $report, string $itemtype)
 The class constructor.
 
 export_for_template (renderer_base $output)
 Export the data for the mustache template.
 
 get_template ()
 Returns the template for the action bar.
 

Protected Attributes

context $context
 $context The context object.
 
string string $itemtype
 $itemtype The single view item type.
 
singleview singleview $report
 $report The single view report class.
 

Detailed Description

Renderable class for the action bar elements in the single view report page.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

gradereport_singleview\output\action_bar::__construct ( \context $context,
singleview $report,
string $itemtype )

The class constructor.

Parameters
context$contextThe context object.
singleview$reportThe single view report class.
string$itemtypeThe single view item type.

Member Function Documentation

◆ export_for_template()

gradereport_singleview\output\action_bar::export_for_template ( renderer_base $output)

Export the data for the mustache template.

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

Implements templatable.

◆ get_template()

gradereport_singleview\output\action_bar::get_template ( )

Returns the template for the action bar.

Return values
string

Reimplemented from core_grades\output\action_bar.


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