Subversion Repositories Applications.annuaire

Rev

Rev 213 | Rev 294 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 213 Rev 217
Line 239... Line 239...
239
	} 
239
	} 
Line 240... Line 240...
240
	
240
	
241
	public static function genererDateCouranteFormatMySql() {
241
	public static function genererDateCouranteFormatMySql() {
242
		return date('Y-m-d h:i:s');
242
		return date('Y-m-d h:i:s');
-
 
243
	}
-
 
244
	
-
 
245
	function aplatirTableauSansPreserverCles($tableau) {
-
 
246
		
-
 
247
	    $temp = array();
-
 
248
	    foreach ($tableau as $cle => $valeur) {
-
 
249
	        if (is_array($valeur)) {
-
 
250
	            $temp = array_merge($temp,$this->aplatirTableauSansPreserverCles($valeur));
-
 
251
	        } else {
-
 
252
	        	$temp[] = $valeur;
-
 
253
	        }
-
 
254
	    }
-
 
255
	    return $temp;
Line 243... Line 256...
243
	}
256
	}
Line 244... Line 257...
244
 
257
 
245
/** ---------------------------------    Fonction d'extraction des champs de mappage -------------------------------------------*/	
258
/** ---------------------------------    Fonction d'extraction des champs de mappage -------------------------------------------*/