Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2604 Rev 2690
Line 563... Line 563...
563
		}
563
		}
564
		return $code_departement;
564
		return $code_departement;
565
	}
565
	}
Line 566... Line 566...
566
 
566
 
567
	protected function estUnCodeInseeDepartement($code_a_tester) {
567
	protected function estUnCodeInseeDepartement($code_a_tester) {
568
		return preg_match('/^INSEE-C:[0-9]{5}/',$code_a_tester);
568
		return preg_match('/^INSEE-C:(([0-9][0-9])|2A|2B)[0-9]{3}/i',$code_a_tester);
Line 569... Line 569...
569
	}
569
	}
570
 
570
 
571
	protected function convertirCodeZoneGeoVersCodeInsee($code_zone_geo) {
571
	protected function convertirCodeZoneGeoVersCodeInsee($code_zone_geo) {