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 160... Line 160...
160
		return $lieu;
160
		return $lieu;
161
	}
161
	}
Line 162... Line 162...
162
 
162
 
163
	private function convertirCodeZoneGeoVersDepartement($code_zone_geo) {
163
	private function convertirCodeZoneGeoVersDepartement($code_zone_geo) {
164
		$code_departement = '';
164
		$code_departement = '';
165
		if (preg_match('/^INSEE-C:([0-9]){2}[0-9]{3}$/', $code_zone_geo, $match)) {
165
		if (preg_match('/^INSEE-C:([0-9]{2})[0-9]{3}$/', $code_zone_geo, $match)) {
166
			$code_departement = $match[1];
166
			$code_departement = $match[1];
167
		}
167
		}
168
		return $code_departement;
168
		return $code_departement;