Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3927 → Rev 3928

/trunk/jrest/services/CelWidgetImage.php
43,8 → 43,8
$criteres['recherche'] = isset($_GET['recherche']) ? $_GET['recherche'] : null;
$criteres['taxon'] = isset($_GET['taxon']) ? $_GET['taxon'] : null;
$criteres['num_nom'] = isset($_GET['nn']) ? $_GET['nn'] : null;
$criteres['referentiel'] = isset($_GET['referentiel']) ? $_GET['referentiel'] : null;
$criteres['taxon'] = isset($_GET['taxon']) ? $_GET['taxon'] : null;
// date debut - fin
$criteres['zone_geo'] = isset($_GET['commune']) ? $_GET['commune'] : null;
$criteres['ce_zone_geo'] = isset($_GET['dept']) ? $_GET['dept'] : null; // separe par ,
51,6 → 51,7
$criteres['pays'] = isset($_GET['pays']) ? $_GET['pays'] : null;
$criteres['auteur'] = isset($_GET['auteur']) ? $_GET['auteur'] : null;
$criteres['programme'] = isset($_GET['programme']) ? $_GET['programme'] : null;
$criteres['projet'] = isset($_GET['projet']) ? $_GET['projet'] : null;
$criteres['mots_cles'] = isset($_GET['tag']) ? $_GET['tag'] : null;
$criteres['famille'] = isset($_GET['famille']) ? $_GET['famille'] : null;
$criteres['standard'] = isset($_GET['standard']) ? $_GET['standard'] : 1;
58,7 → 59,7
$criteres['dir'] = isset($_GET['dir']) ? $_GET['dir'] : self::dir_defaut;
 
$chercheur_images = new RechercheImage($this->config);
$total = $chercheur_images->compterImages(null, $criteres);
$total = 10; //$chercheur_images->compterImages(null, $criteres);
$images = $chercheur_images->rechercherImagesJoinObservation(null, $criteres, $this->start, $this->limit);
$images = $this->mettreEnForme($images);