tce_xml_results.php

tce_xml_results.php source file reference

Package: com\tecnick\tcexam\admin

Tags

  • file: Export all users’ results in XML or JSON format.
  • author: Nicola Asuni
  • since: 2004-06-11

Functions

F_xml_export_results()

File: tce_xml_results.php line 115

F_xml_export_results(mixed $test_id[, mixed $group_id = 0 ][, mixed $user_id = 0 ][, mixed $startdate = 0 ][, mixed $enddate = 0 ][, mixed $display_mode = 1 ]) : XML

Parameters

  • $test_id : mixed: (int) test ID.
  • $group_id : mixed = 0: (int) group ID - if greater than zero, filter stats for the specified user group.
  • $user_id : mixed = 0: (int) user ID - if greater than zero, filter stats for the specified user.
  • $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
  • $display_mode : mixed = 1: (int) display mode: 0 = disabled; 1 = minimum; 2 = module; 3 = subject; 4 = question; 5 = answer.

Tags

  • author: Nicola Asuni

Return values

XML —

data