Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
locallib.php File Reference

Functions

stdClass report_log_print_graph ($course, $user, $typeormode, $date=0, $logreader='')
 This function is used to generate and display the log activity graph.
 
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.
 
 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.
 
 report_log_usercourse ($userid, $courseid, $coursestart, $logreader='')
 Select all log records for a given course and user.
 
 report_log_userday ($userid, $courseid, $daystart, $logreader='')
 Select all log records for a given course, user, and day.
 
 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.
 

Variables

 if (!defined( 'REPORT_LOG_MAX_DISPLAY'))