tce_functions_email_reports.php
Tags
Table of Contents
Functions
- F_send_report_emails() : mixed
- Sends email test reports to users.
Functions
F_send_report_emails()
Sends email test reports to users.
F_send_report_emails( $test_id[,
$user_id
= 0
][,
$testuser_id
= 0
][,
$group_id
= 0
][,
$startdate
= 0
][,
$enddate
= 0
][,
$mode
= 0
][,
$display_mode
= 1
][,
$show_graph
= false
]) : mixed
Parameters
- $test_id :
-
(int) TEST ID
- $user_id : = 0
-
(int) USER ID (0 means all users)
- $testuser_id : = 0
-
(int) test-user ID - if greater than zero, filter stats for the specified test-user.
- $group_id : = 0
-
(int) GROUP ID (0 means all groups)
- $startdate : = 0
-
(int) start date ID - if greater than zero, filter stats for the specified starting date
- $enddate : = 0
-
(int) end date ID - if greater than zero, filter stats for the specified ending date
- $mode : = 0
-
(int) type of report to send: 0=detailed report; 1=summary report (without questions)
- $display_mode : = 1
-
display (int) mode: 0 = disabled; 1 = minimum; 2 = module; 3 = subject; 4 = question; 5 = answer.
- $show_graph : = false
-
(boolean) If true display the score graph.