Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 324 Rev 327
Line 238... Line 238...
238
				case 'departement' :
238
				case 'departement' :
239
					$condition .= $this->creerFiltreIdZoneGeo($valeur);
239
					$condition .= $this->creerFiltreIdZoneGeo($valeur);
240
				break;
240
				break;
Line 241... Line 241...
241
 
241
 
242
				case 'region' :
242
				case 'region' :
243
					$requete_association_region .= 'SELECT * FROM ods_triples WHERE ot_ce_parent = 36 AND ot_valeur = '.$valeur;
243
					$requete_association_region = 'SELECT * FROM ods_triples WHERE ot_ce_parent = 36 AND ot_valeur = '.$valeur;
244
					$listeAssociationRegions = $this->executerRequete($requete_association_region);
244
					$listeAssociationRegions = $this->executerRequete($requete_association_region);
245
					$departements = array();
245
					$departements = array();
246
					foreach ($listeAssociationRegions as $associationRegion) {
246
					foreach ($listeAssociationRegions as $associationRegion) {
247
						$departements[] = $this->creerFiltreIdZoneGeo($associationRegion['ot_cle']);
247
						$departements[] = $this->creerFiltreIdZoneGeo($associationRegion['ot_cle']);