/trunk/services/modules/0.1/chorodep/NomsPlus.php |
---|
File deleted |
\ No newline at end of file |
/trunk/services/modules/0.1/chorodep/Noms.php |
---|
101,13 → 101,13 |
$donnees['entete']['href.precedent'] = $url_base . '/' . $this->serviceNom . '?' |
. 'navigation.depart=' . max(0, ($this->depart - $this->limite)) . '&navigation.limite=' . $this->limite |
. '&retour.tri=' . $this->tri . '&retour.ordre=' . $this->tri_dir |
. ($masqueEnParams ? '&' . $masqueEnParams : ''); |
. '&' . $masqueEnParams; |
} |
if (($this->depart + $this->limite) < $total ) { |
$donnees['entete']['href.suivant'] = $url_base . '/' . $this->serviceNom . '?' |
. 'navigation.depart=' . ($this->depart + $this->limite) . '&navigation.limite=' . $this->limite |
. '&retour.tri=' . $this->tri . '&retour.ordre=' . $this->tri_dir |
. ($masqueEnParams ? '&' . $masqueEnParams : ''); |
. '&' . $masqueEnParams; |
} |
$donnees['resultat'] = $noms; |
/trunk/services/modules/0.1/chorodep/Observations.php |
---|
215,6 → 215,15 |
if ($nom_champ == 'station') { |
if (!preg_match('/^\s*([0-9]{2})\s*$/', $valeur, $colonne)) { // si le nom est passé |
$this->requete_condition[] = '1'; |
/* $url = $this->ajouterHrefAutreProjet('zone-geo',$key,'INSEE-D');// d'apres nom |
$dept = $this->rest_client->consulter($url); |
$entete = $this->rest_client->getReponseEntetes(); |
if (isset($entete['wrapper_data'])) { |
$colonne = json_decode($relation); |
} else { |
$this->renvoyerErreur(RestServeur::HTTP_CODE_RESSOURCE_INTROUVABLE, |
'Le service '.$this->service.' de ce projet comporte des erreurs. url lancée : '.$url); |
}*/ |
} else { |
$this->requete_condition[] = '`'.$valeur."` != '' "; |
$this->requete_champ .= ', `'.$valeur.'` '; |