This commit is contained in:
Michael RICOIS 2012-04-24 07:45:04 +00:00
parent 1cbec888f6
commit 94748d4ea0

View File

@ -1,6 +1,6 @@
#!/usr/bin/php
<?php
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
//error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
// Define path to application directory
defined('APPLICATION_PATH')
@ -376,7 +376,9 @@ foreach($tabExtract as $key)
$keys = call_user_func($key.'Entete', $values);
foreach($keys as $item){
$tabEntete[] = $item;
}
}
} elseif ( in_array($key, array('siren', 'nic', 'ref', 'siret')) ) {
$tabEntete[] = $key;
} else {
$tabEntete[] = $dico->getDicoLib($key);
}
@ -531,6 +533,10 @@ foreach($tabIdentifiant as $item)
}
print_r($tabEntete);
print_r($tabData);
exit;
//Trier pour la sortie
$tabSortie = array();
foreach($tabEntete as $key){