/trunk/bibliotheque/dao/RechercheDao.php |
---|
32,8 → 32,10 |
* Recherche un référentiel en fonction de paramètres |
* @return array un tableau contenant des objets d'informations sur les taxons |
*/ |
public function chercher($type, $parametres) { |
public function chercher($type, $parametres, $limit = '150') { |
$this->ordre['nom_sci'] = 'ASC'; |
$this->limite_nbre = $limit; |
$url = $this->construireUrlRecherche($type, $parametres); |
$json = $this->envoyerRequeteConsultation($url); |
$donnees = json_decode($json, true); |