tce__xml__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_results.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Functions

switch($output_format) F_xml_export_results ($test_id, $group_id=0, $user_id=0, $startdate=0, $enddate=0, $display_mode=1)
 

Variables

 $pagelevel = K_AUTH_ADMIN_RESULTS
 
if(isset($_REQUEST[‘test_id’]) AND($_REQUEST[‘test_id’] > 0)) else
 
 $output_format = isset($_REQUEST[‘format’]) ? strtoupper($_REQUEST[‘format’]) : ‘XML’
 
 $out_filename = ‘tcexamresults’.date(‘YmdHis’).’test’.$test_id
 
 $xml = F_xml_export_results($test_id, $group_id, $user_id, $startdate, $enddate, $display_mode)
 

Detailed Description

Export all users’ results in XML or JSON format.

Function Documentation

switch ($output_format) F_xml_export_results (   $test_id,
  $group_id = 0,
  $user_id = 0,
  $startdate = 0,
  $enddate = 0,
  $display_mode = 1 
)

Export results in XML format.

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

Variable Documentation

$out_filename = ‘tcexamresults’.date(‘YmdHis’).’test’.$test_id

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

$pagelevel = K_AUTH_ADMIN_RESULTS

$xml = F_xml_export_results($test_id, $group_id, $user_id, $startdate, $enddate, $display_mode)

if (isset($_REQUEST[‘display_mode’])) else
Initial value:
{
$test_id
Definition: tce_show_result_user.php:79

 

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