task_data.php
/**
 * print the data for all tasks of a sprint in csv format.
 * @param unknown $sprint_id
 */
print the data for all tasks of a sprint in csv format.
print the data for all tasks of a sprint in csv format .
function print_task_table_csv( $sprint_id)
{
    global $database;
    $headers = array();
    $tasks = array();
    $result = array();
    $database->get_result_table( get_task_table_query($sprint_id), $headers, $tasks);
	header("Content-type: text/csv");
	header("Content-Disposition: attachment; filename=sprint_tasks.csv");
	header("Pragma: no-cache");
	header("Expires: 0");
	print_csv( $headers, $tasks);
}
function print_task_table_csv ( $ sprint_id ) { global $ database ; $ headers = array ( ) ; $ tasks = array ( ) ; $ result = array ( ) ; $ database -> get_result_table ( get_task_table_query ( $ sprint_id ) , $ headers , $ tasks ) ; header ( " Content-type: text/csv " ) ; header ( " Content-Disposition: attachment; filename=sprint_tasks.csv " ) ; header ( " Pragma: no-cache " ) ; header ( " Expires: 0 " ) ; print_csv ( $ headers , $ tasks ) ; }
print the data for all tasks of a sprint in csv format.
print the data for all tasks of a sprint in csv format .