Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
gradereport_grader\output\action_bar Class Reference
Inheritance diagram for gradereport_grader\output\action_bar:
core_grades\output\action_bar

Public Member Functions

 __construct (\context_course $context)
 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.
 
int int $userid = 0
 $userid The ID of the user that the current user is looking for.
 
string string $usersearch = ''
 $usersearch The content that the current user is looking for.
 

Constructor & Destructor Documentation

◆ __construct()

gradereport_grader\output\action_bar::__construct ( \context_course $context)

The class constructor.

Parameters
context_course$contextThe context object.

Member Function Documentation

◆ export_for_template()

gradereport_grader\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
Exceptions
moodle_exception

◆ get_template()

gradereport_grader\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: