Function F_printTestStat
Returns test stats as HTML table
Package: com\tecnick\tcexam\shared
Author: Nicola Asuni
Located at shared/code/tce_functions_test_stats.php
Author: Nicola Asuni
Located at shared/code/tce_functions_test_stats.php
$test_id |
test ID. | |
$group_id = 0 |
group ID - if greater than zero, filter stats for the specified user group. | |
$user_id = 0 |
user ID - if greater than zero, filter stats for the specified user. | |
$startdate = 0 |
start date ID - if greater than zero, filter stats for the specified starting date | |
$enddate = 0 |
end date ID - if greater than zero, filter stats for the specified ending date | |
$testuser_id = 0 |
test-user ID - if greater than zero, filter stats for the specified test-user. | |
$ts = array() |
array of stats to print (leave empty to automatically generate new data). | |
$display_mode = 2 |
(int) mode: 0 = disabled; 1 = minimum; 2 = module; 3 = subject; 4 = question; 5 = answer. | |
$pubmode = false |
<p>If true filter the results for the public interface. return $data string containing HTML table.</p> |