Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
core\report_helper Class Reference

A helper class with static methods to help report plugins. More...

Static Public Member Functions

static print_report_selector (string $pluginname)
 Print the selector dropdown.
 
static save_selected_report (int $id, moodle_url $url)
 Save the last selected report in the session.
 

Detailed Description

A helper class with static methods to help report plugins.

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

Member Function Documentation

◆ print_report_selector()

static core\report_helper::print_report_selector ( string $pluginname)
static

Print the selector dropdown.

Parameters
string$pluginnameThe report plugin where the header is modified
Return values
void

◆ save_selected_report()

static core\report_helper::save_selected_report ( int $id,
moodle_url $url )
static

Save the last selected report in the session.

Deprecated
since Moodle 4.0
Parameters
int$idThe course id
moodle_url$urlThe moodle url
Return values
void

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