/trunk/controleurs/AppControleur.php |
---|
241,6 → 241,19 |
public static function genererDateCouranteFormatMySql() { |
return date('Y-m-d h:i:s'); |
} |
function aplatirTableauSansPreserverCles($tableau) { |
$temp = array(); |
foreach ($tableau as $cle => $valeur) { |
if (is_array($valeur)) { |
$temp = array_merge($temp,$this->aplatirTableauSansPreserverCles($valeur)); |
} else { |
$temp[] = $valeur; |
} |
} |
return $temp; |
} |
/** --------------------------------- Fonction d'extraction des champs de mappage -------------------------------------------*/ |