tce__xml__user__results_8php

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_xml_user_results.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Functions

switch($output_format) F_xml_export_user_results ($user_id, $startdate, $enddate, $order_field)
 

Variables

if(isset($_REQUEST[‘user_id’]) AND($_REQUEST[‘user_id’] > 0)) else
 
 $output_format = isset($_REQUEST[‘format’]) ? strtoupper($_REQUEST[‘format’]) : ‘XML’
 
 $out_filename = ‘tcexam_userresults’.$userid.’’.date(‘YmdHis’)
 
 $xml = F_xml_export_user_results($user_id, $startdate, $enddate, $order_field)
 

Detailed Description

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

Function Documentation

switch ($output_format) F_xml_export_user_results (   $user_id,
  $startdate,
  $enddate,
  $order_field 
)

Export user results in XML format.

Parameters
$user_id(int) user ID - if greater than zero, filter stats for the specified user.
$startdate(string) start date ID - if greater than zero, filter stats for the specified starting date
$enddate(string) end date ID - if greater than zero, filter stats for the specified ending date
$order_field(string) Ordering fields for SQL query.
Author
Nicola Asuni
Returns
XML data

Variable Documentation

$out_filename = ‘tcexam_userresults’.$userid.’’.date(‘YmdHis’)

$output_format = isset($_REQUEST[‘format’]) ? strtoupper($_REQUEST[‘format’]) : ‘XML’

$xml = F_xml_export_user_results($user_id, $startdate, $enddate, $order_field)

if (isset($_REQUEST[‘order_field’]) AND!empty($_REQUEST[‘order_field’]) AND(in_array($_REQUEST[‘order_field’], array(‘testuser_creation_time’, ‘total_score’)))) else
Initial value:
{
exit
Definition: tce_show_result_user.php:51

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy