Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 356 → Rev 344

/branches/v2.0-betulales/bibliotheque/dao/ReferentielDao.php
122,7 → 122,7
private function construireUrlExport($parametres) {
$url = $this->url_jrest.self::SERVICE.'/Export';
$params_a_passer = array('ref', 'version', 'champs', 'filtres', 'encodage');
$params_a_passer = array('ref', 'version', 'champs', 'filtres');
foreach ($params_a_passer as $param_cle) {
if (isset($parametres[$param_cle]) && $parametres[$param_cle] != '') {
$valeur = urlencode(trim($parametres[$param_cle]));
/branches/v2.0-betulales/bibliotheque/dao/RechercheDao.php
32,10 → 32,8
* 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, $limit = '150') {
public function chercher($type, $parametres) {
$this->ordre['nom_sci'] = 'ASC';
$this->limite_nbre = $limit;
$url = $this->construireUrlRecherche($type, $parametres);
$json = $this->envoyerRequeteConsultation($url);
$donnees = json_decode($json, true);