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

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.
 

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: