tce_functions_email_reports.php

tce_functions_email_reports.php source file reference

Package: com\tecnick\tcexam\admin

Tags

  • file: Functions to send email reports to users.
  • author: Nicola Asuni
  • since: 2005-02-24

Constants

FORCE_CURL

File: tce_functions_email_reports.php line 119

public mixed FORCE_CURL = true

Functions

F_send_report_emails()

File: tce_functions_email_reports.php line 37

F_send_report_emails(mixed $test_id[, mixed $user_id = 0 ][, mixed $testuser_id = 0 ][, mixed $group_id = 0 ][, mixed $startdate = 0 ][, mixed $enddate = 0 ][, mixed $mode = 0 ][, mixed $display_mode = 1 ][, mixed $show_graph = false ]) : mixed

Parameters

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

Tags

  • author: Nicola Asuni
  • since: 2005-02-24