119,6 → 119,7 |
$this->construireWhereRectangleCommuneOR().") ". |
$this->construireWhereDept(). |
$this->construireWhereCommune(). |
$this->construireWherePays(). |
$this->construireWhereUtilisateur(). |
$this->construireWhereNumTaxonAvecSousTaxons(). |
$this->construireWhereNomTaxon(). |
157,6 → 158,7 |
$this->construireWhereRectangleCommuneOR().") ". |
$this->construireWhereDept(). |
$this->construireWhereCommune(). |
$this->construireWherePays(). |
$this->construireWhereUtilisateur(). |
$this->construireWhereNumTaxonAvecSousTaxons(). |
$this->construireWhereNomTaxon(). |
342,6 → 344,7 |
"WHERE transmission = '1' ". |
(($this->communeEstDemandee()) ? $this->construireWhereCommuneSansCoordonneesAvecSensibles() : $this->construireWhereCoordonneesSansSensibles()). |
$this->construireWhereDept(). |
$this->construireWherePays(). |
$this->construireWhereUtilisateur(). |
$this->construireWhereNumTaxonAvecSousTaxons(). |
$this->construireWhereNomTaxon(). |
489,6 → 492,7 |
" AND nom_ret != '' ". |
$this->construireWhereDept(). |
$this->construireWhereCommune(). |
$this->construireWherePays(). |
$this->construireWhereUtilisateur(). |
$this->construireWhereNumTaxon(). |
$this->construireWhereNomTaxon(). |
756,6 → 760,7 |
$this->construireWhereCoordonnees(). |
$this->construireWhereDept(). |
$this->construireWhereCommune(). |
$this->construireWherePays(). |
$this->construireWhereUtilisateur(). |
$this->construireWhereNumTaxon(). |
$this->construireWhereNomTaxon(). |
924,6 → 929,16 |
return $sql; |
} |
|
private function construireWherePays() { |
$sql = ''; |
extract($this->parametres); |
if (isset($this->parametres['pays']) && !$this->etreNull($pays)) { |
$pays = Cel::db()->proteger($pays); |
$sql = " AND pays = $pays"; |
} |
return $sql; |
} |
|
private function construireWhereCommuneSansCoordonneesAvecSensibles() { |
$sql = ''; |
// Récupération des coordonnées depuis l'id station |