Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
@subpackage stats More...
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. More... | |
stats_cron_monthly () | |
Execute monthly statistics gathering. More... | |
stats_cron_weekly () | |
Execute weekly statistics gathering. More... | |
stats_fix_zeros ($stats, $timeafter, $timestr, $line2=true, $line3=false) | |
Fix missing entries in the statistics. More... | |
stats_get_action_names ($str) | |
stats_get_base_daily ($time=0) | |
Start of day. More... | |
stats_get_base_monthly ($time=0) | |
Start of month. More... | |
stats_get_base_weekly ($time=0) | |
Start of week. More... | |
stats_get_next_day_start ($time) | |
Start of next day. More... | |
stats_get_next_month_start ($time) | |
Start of next month. More... | |
stats_get_next_week_start ($time) | |
Start of next week. More... | |
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. More... | |
stats_get_time_options ($now, $lastweekend, $lastmonthend, $earliestday, $earliestweek, $earliestmonth) | |
stats_get_view_actions () | |
stats_progress ($ident) | |
Print daily cron progress. More... | |
stats_run_query ($sql, $parameters=array()) | |
Execute individual daily statistics queries. More... | |
stats_temp_table_clean () | |
Deletes summary logs table for stats calculation. More... | |
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. More... | |
stats_temp_table_setup () | |
Fills the temporary stats tables with new data. More... | |
@subpackage stats