Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1747 Rev 1752
Line 145... Line 145...
145
		return $lieu;
145
		return $lieu;
146
	}
146
	}
Line 147... Line 147...
147
 
147
 
148
	private function convertirCodeZoneGeoVersDepartement($code_zone_geo) {
148
	private function convertirCodeZoneGeoVersDepartement($code_zone_geo) {
149
		$code_departement = '';
149
		$code_departement = '';
150
		if (preg_match('/^INSEE-C:([0-9]){2}[0-9]{3}$/', $code_zone_geo, $match)) {
150
		if (preg_match('/^INSEE-C:([0-9]{2})[0-9]{3}$/', $code_zone_geo, $match)) {
151
			$code_departement = $match[1];
151
			$code_departement = $match[1];
152
		}
152
		}
153
		return $code_departement;
153
		return $code_departement;