Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 1190 Rev 1214
Line 106... Line 106...
106
		return $retour;
106
		return $retour;
107
	}
107
	}
Line 108... Line 108...
108
	
108
	
109
	private function obtenirLoisZoneGeo(Array $id_lois) {
109
	private function obtenirLoisZoneGeo(Array $id_lois) {
110
		$id_lois = array_map(array($this->bdd, 'proteger'), $id_lois);
110
		$id_lois = array_map(array($this->bdd, 'proteger'), $id_lois);
111
		$requete = "SELECT DISTINCT zone_application, code_zone_application FROM ".Config::get('bdd_table_lois').' '.
111
		$requete = "SELECT DISTINCT zone_application, code_zone_application, type_protection FROM ".Config::get('bdd_table_lois').' '.
112
			           "WHERE cd_protection IN (".implode(',',$id_lois).") ORDER BY zone_application ASC";   
112
			           "WHERE cd_protection IN (".implode(',',$id_lois).") ORDER BY zone_application ASC";   
113
		return $this->bdd->recupererTous($requete);
113
		return $this->bdd->recupererTous($requete);
Line 114... Line 114...
114
	}
114
	}