|
static | get_group_filter (stdClass $filterparams) |
| Retrieve the right SQL / params for the group filter depending on the filterparams, course and group settings.
|
|
static | print_report_selector (string $pluginname, string $additional='') |
| Print the selector dropdown.
|
|
static | save_selected_report (int $id, moodle_url $url) |
| Save the last selected report in the session.
|
|
◆ get_group_filter()
static core\report_helper::get_group_filter |
( |
stdClass | $filterparams | ) |
|
|
static |
Retrieve the right SQL / params for the group filter depending on the filterparams, course and group settings.
Addionnaly, it will return the list of users visible by the current user so it can be used to filter out records that are not visible. This is mainly because we cannot use joins as the log tables can be in two different databases.
- Parameters
-
- Return values
-
◆ print_report_selector()
static core\report_helper::print_report_selector |
( |
string | $pluginname, |
|
|
string | $additional = '' ) |
|
static |
Print the selector dropdown.
- Parameters
-
string | $pluginname | The report plugin where the header is modified |
string | $additional | Additional content to display aligned with the selector |
◆ 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