Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]
This file contains functions used by the participation reports
Copyright: | 2014 Rajesh Taneja <rajesh@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 231 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
report_participation_get_log_table_name() X-Ref |
Returns log table name of preferred reader, if leagcy then return empty string. return: string table name |
report_participation_get_time_options($minlog) X-Ref |
Return time options, which should be shown for record filtering. param: int $minlog Time of first log record available. return: array time options. |
report_participation_get_action_sql($action, $modname) X-Ref |
Return action sql and params. param: string $action action to be filtered. param: string $modname module name. return: array actionsql and actionparams. |
report_participation_get_crud_sql($action) X-Ref |
Return crud sql and params. param: string $action action to be filtered. return: array crudsql and crudparams. |
report_participation_get_action_options() X-Ref |
List of action filters. return: array |
report_participation_print_filter_form($course, $timefrom, $minlog, $action, $roleid, $instanceid) X-Ref |
Print filter form. param: stdClass $course course object. param: int $timefrom Time from which records should be fetched. param: int $minlog Time of first record present in log store. param: string $action action to be filtered. param: int $roleid Role to be filtered. param: int $instanceid Instance id of module. |