Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1386 → Rev 1387

/trunk/jrest/services/CelWidgetExport.php
57,7 → 57,8
'projet' => 'mots_cles',
'num_taxon' => 'nt',
'date_debut' => 'date_debut',
'date_fin' => 'date_fin'
'date_fin' => 'date_fin',
'taxon' => 'taxon'
);
/**
104,9 → 105,7
$outstream = fopen($chemin_temp, 'r+');
$intitule_champs = array();
foreach($data as $ligne) {
//echo '<pre>'.print_r($ligne,true).'</pre>';
$ligne = array_diff_key($ligne, $this->champs_a_exclure);
//echo '<pre>'.print_r($ligne,true).'</pre>';
if(empty($intitule_champs)) {
$intitule_champs = $this->creerEntetesChamps($ligne);
fputcsv($outstream, $intitule_champs, ',', '"');