Subversion Repositories Applications.referentiel

Rev

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

Rev 154 Rev 232
Line 31... Line 31...
31
	/**
31
	/**
32
	 * Recherche un référentiel en fonction de paramêtres
32
	 * Recherche un référentiel en fonction de paramêtres
33
	 * @return array un tableau contenant des objets d'informations sur les taxons
33
	 * @return array un tableau contenant des objets d'informations sur les taxons
34
	 */
34
	 */
35
   public function chercher($type, $parametres) {
35
   public function chercher($type, $parametres) {
-
 
36
   		$this->ordre['nom_sci'] = 'ASC';
36
		$url = $this->construireUrlRecherche($type, $parametres);		
37
		$url = $this->construireUrlRecherche($type, $parametres);		
37
   		$json = $this->envoyerRequeteConsultation($url);
38
   		$json = $this->envoyerRequeteConsultation($url);
38
   		$donnees = json_decode($json, true);		
39
   		$donnees = json_decode($json, true);		
39
		return $donnees;
40
		return $donnees;
40
   }
41
   }