tce_xml_user_results.php

Export all user's results in XML or JSON format.

Source: admin/code/tce_xml_user_results.php

Export all user’s results in XML or JSON format.

Functions

F_xml_export_user_results()

Export user results in XML format.

function F_xml_export_user_results(
    mixed $user_id,
    mixed $startdate,
    mixed $enddate,
    mixed $order_field
): XML

Parameters:

  • $user_id (mixed): (int) user ID - if greater than zero, filter stats for the specified user.
  • $startdate (mixed): (string) start date ID - if greater than zero, filter stats for the specified starting date
  • $enddate (mixed): (string) end date ID - if greater than zero, filter stats for the specified ending date
  • $order_field (mixed): (string) Ordering fields for SQL query.

Returns: XML: data

Source: admin/code/tce_xml_user_results.php:124