Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions | Variables
locallib.php File Reference

This file contains functions used by the log reports. More...

Functions

stdClass report_log_print_graph ($course, $user, $typeormode, $date=0, $logreader='')
 This function is used to generate and display the log activity graph. More...
 
stdClass report_log_print_mnet_selector_form ($hostid, $course, $selecteduser=0, $selecteddate='today', $modname="", $modid=0, $modaction='', $selectedgroup=-1, $showcourses=0, $showusers=0, $logformat='showashtml')
 This function is used to generate and display Mnet selector form. More...
 
 report_log_userall_data ($course, $user, $logreader)
 Fetch logs since the start of the courses and structure in series and labels to be sent to Chart API. More...
 
 report_log_usercourse ($userid, $courseid, $coursestart, $logreader='')
 Select all log records for a given course and user. More...
 
 report_log_userday ($userid, $courseid, $daystart, $logreader='')
 Select all log records for a given course, user, and day. More...
 
 report_log_usertoday_data ($course, $user, $date, $logreader)
 Fetch logs of the current day and structure in series and labels to be sent to Chart API. More...
 

Variables

 if (!defined( 'REPORT_LOG_MAX_DISPLAY'))
 

Detailed Description

This file contains functions used by the log reports.

This files lists the functions that are used during the log report generation.

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