tce_functions_email_reports.php
Tags
Table of Contents
- 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,
$testuser_id,
$group_id,
$startdate,
$enddate,
$mode[,
$display_mode
= 1
][,
$show_graph
= false
]) : mixed
Parameters
- $test_id :
-
(int) TEST ID
- $user_id :
-
(int) USER ID (0 means all users)
- $testuser_id :
-
(int) test-user ID - if greater than zero, filter stats for the specified test-user.
- $group_id :
-
(int) GROUP ID (0 means all groups)
- $startdate :
-
(int) start date ID - if greater than zero, filter stats for the specified starting date
- $enddate :
-
(int) end date ID - if greater than zero, filter stats for the specified ending date
- $mode :
-
(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.