From c1435981ba1b860d64827676597e4c647d3f34ab Mon Sep 17 00:00:00 2001 From: Sebastien BEAUGRAND Date: Tue, 6 Apr 2010 15:09:58 +0000 Subject: [PATCH] export: banque, issue #0000011 --- www/pages/banque.php | 21 +++++++++++++++++++++ www/pages/menu.php | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/www/pages/banque.php b/www/pages/banque.php index 43bc3fe47..f1c786216 100644 --- a/www/pages/banque.php +++ b/www/pages/banque.php @@ -132,6 +132,27 @@ foreach($rbanque as $relation) ?> tab = array($rbanque); + $parseTab->type = array(); + + $array2csv = new ExportCSV; + $array2csv->records = $parseTab->convertTable(); + $array2csv->writeCSV($fileName); + + $array2xml = new ExportXML; + $array2xml->rootName = $page.'s'; + $array2xml->defaultTagName = $page; + $array2xml->records = $rbanque; + $array2xml->writeXML($fileName); } ?> '. 'CSV ';