A helper class with static methods to help report plugins.
More...
A helper class with static methods to help report plugins.
- Copyright
- 2021 Sujith Haridasan
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ print_report_selector()
static core\report_helper::print_report_selector |
( |
string | $pluginname | ) |
|
|
static |
Print the selector dropdown.
- Parameters
-
string | $pluginname | The report plugin where the header is modified |
- Return values
-
◆ 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
-
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/report_helper.php