Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
stats_check_uptodate ($courseid=0) | |
stats_clean_old () | |
Remove old stats data. | |
stats_compare_times ($a, $b) | |
stats_cron_daily ($maxdays=1) | |
Execute daily statistics gathering. | |
stats_cron_monthly () | |
Execute monthly statistics gathering. | |
stats_cron_weekly () | |
Execute weekly statistics gathering. | |
stats_fix_zeros ($stats, $timeafter, $timestr, $line2=true, $line3=false) | |
Fix missing entries in the statistics. | |
stats_get_action_names ($str) | |
stats_get_base_daily ($time=0) | |
Start of day. | |
stats_get_base_monthly ($time=0) | |
Start of month. | |
stats_get_base_weekly ($time=0) | |
Start of week. | |
stats_get_next_day_start ($time) | |
Start of next day. | |
stats_get_next_month_start ($time) | |
Start of next month. | |
stats_get_next_week_start ($time) | |
Start of next week. | |
stats_get_parameters ($time, $report, $courseid, $mode, $roleid=0) | |
stats_get_post_actions () | |
stats_get_report_options ($courseid, $mode) | |
stats_get_start_from ($str) | |
Return starting date of stats processing. | |
stats_get_time_options ($now, $lastweekend, $lastmonthend, $earliestday, $earliestweek, $earliestmonth) | |
stats_get_view_actions () | |
stats_progress ($ident) | |
Print daily cron progress. | |
stats_run_query ($sql, $parameters=array()) | |
Execute individual daily statistics queries. | |
stats_temp_table_clean () | |
Deletes summary logs table for stats calculation. | |
stats_temp_table_create () | |
Create temporary tables to speed up log generation. | |
stats_temp_table_drop () | |
Deletes summary logs table for stats calculation. | |
stats_temp_table_fill ($timestart, $timeend) | |
Fills the temporary stats tables with new data. | |
stats_temp_table_setup () | |
Fills the temporary stats tables with new data. | |