Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Files | |
file | access.php |
Capabilities. | |
file | locallib.php |
This file contains functions used by the participation reports. | |
file | provider.php |
Privacy Subsystem implementation for report_participation. | |
file | report_viewed.php |
The report_participation report viewed event. | |
Namespaces | |
report_participation\event | |
| |
report_participation\privacy | |
| |
Classes | |
class | report_participation\event\report_viewed |
class | report_participation\privacy\provider |
Privacy Subsystem for report_participation implementing null_provider. More... | |
Functions | |
report_participation_get_action_options () | |
List of action filters. More... | |
report_participation_get_action_sql ($action, $modname) | |
Return action sql and params. More... | |
report_participation_get_crud_sql ($action) | |
Return crud sql and params. More... | |
report_participation_get_log_table_name () | |
Returns log table name of preferred reader, if leagcy then return empty string. More... | |
report_participation_get_time_options ($minlog) | |
Return time options, which should be shown for record filtering. More... | |
report_participation_print_filter_form ($course, $timefrom, $minlog, $action, $roleid, $instanceid) | |
Print filter form. More... | |
Variables | |
$capabilities | |
report_participation_get_action_options | ( | ) |
List of action filters.
array |
report_participation_get_action_sql | ( | $action, | |
$modname | |||
) |
Return action sql and params.
string | $action | action to be filtered. |
string | $modname | module name. |
array | actionsql and actionparams. |
report_participation_get_crud_sql | ( | $action | ) |
Return crud sql and params.
string | $action | action to be filtered. |
array | crudsql and crudparams. |
report_participation_get_log_table_name | ( | ) |
Returns log table name of preferred reader, if leagcy then return empty string.
string | table name |
report_participation_get_time_options | ( | $minlog | ) |
Return time options, which should be shown for record filtering.
int | $minlog | Time of first log record available. |
array | time options. |
report_participation_print_filter_form | ( | $course, | |
$timefrom, | |||
$minlog, | |||
$action, | |||
$roleid, | |||
$instanceid | |||
) |
Print filter form.
stdClass | $course | course object. |
int | $timefrom | Time from which records should be fetched. |
int | $minlog | Time of first record present in log store. |
string | $action | action to be filtered. |
int | $roleid | Role to be filtered. |
int | $instanceid | Instance id of module. |
$capabilities |