Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3618 Rev 3619
Line 136... Line 136...
136
					$this->construireWhereProjet().
136
					$this->construireWhereProjet().
137
					$this->construireWhereTag().
137
					$this->construireWhereTag().
138
					$this->construireWhereNombreDeJours().
138
					$this->construireWhereNombreDeJours().
139
					$this->construireWhereAnnee().
139
					$this->construireWhereAnnee().
140
					$this->construireWhereGroupeZoneGeo().
140
					$this->construireWhereGroupeZoneGeo().
141
					(($this->communeEstDemandee()) ? $this->construireWhereCommuneSansCoordonneesAvecSensibles() : $this->construireWhereCoordonneesSansSensibles()).
-
 
142
					' GROUP BY id_coord';
141
					' GROUP BY id_coord';
Line 143... Line 142...
143
 
142
 
144
		$resultats_emplacements = Cel::db()->requeter($requete);
143
		$resultats_emplacements = Cel::db()->requeter($requete);
145
		$emplacements = $this->traiterEmplacements($resultats_emplacements, $this->compterObservations($params));
144
		$emplacements = $this->traiterEmplacements($resultats_emplacements, $this->compterObservations($params));
Line 177... Line 176...
177
					$this->construireWherePhotosSeulement().
176
					$this->construireWherePhotosSeulement().
178
					$this->construireWhereProjet().
177
					$this->construireWhereProjet().
179
					$this->construireWhereTag().
178
					$this->construireWhereTag().
180
					$this->construireWhereNombreDeJours().
179
					$this->construireWhereNombreDeJours().
181
					$this->construireWhereAnnee().
180
					$this->construireWhereAnnee().
182
					$this->construireWhereGroupeZoneGeo()
181
					$this->construireWhereGroupeZoneGeo();
183
					(($this->communeEstDemandee()) ? $this->construireWhereCommuneSansCoordonneesAvecSensibles() : $this->construireWhereCoordonneesSansSensibles());
-
 
Line 184... Line 182...
184
 
182
 
185
		$resultats_nb_obs = Cel::db()->requeter($requete);
183
		$resultats_nb_obs = Cel::db()->requeter($requete);
186
		return $resultats_nb_obs[0]['nb'];
184
		return $resultats_nb_obs[0]['nb'];