source: cpc/trunk/project/apps/frontend/modules/api/templates/csvSuccess.php @ 3091

Last change on this file since 3091 was 3091, checked in by goya, 7 years ago

refacto api code to add task to generate dump of all amdmts for a bill

File size: 335 bytes
Line 
1<?php
2if ((isset($GET['withBOM']) && $GET['withBOM']) || (isset($withBOM) && $withBOM)) {
3  printf("\xef\xbb\xbf");
4}
5if (!isset($multi)) {
6  $multi = array();
7 }
8if (!isset($champs)) {
9  $champs = $res[$champ];
10 }
11foreach(array_keys($champs) as $key) 
12{
13  echo "$key;";
14}
15echo "\n";
16
17myTools::depile_csv($res, $breakline, $multi);
18?>
Note: See TracBrowser for help on using the repository browser.