Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3506 → Rev 3507

/trunk/jrest/services/CelObs.php
31,7 → 31,7
 
public function __construct($config) {
parent::__construct($config);
$this->rechercheObs = new RechercheObservation($config);
$this->rechercheObs = new RechercheObservationExport($config, array("standard"=>"0"));
$this->chpsEtendus = new GestionChampsEtendus($config, 'obs');
 
$this->chargerNomsTablesReferentiels();
49,7 → 49,7
$idObs = $ressources[0];
if (isset($idObs) && preg_match('/^[0-9]+$/', $idObs)) {
 
$criteres = array('id_observation' => $idObs, 'transmission' => 1);
$criteres = array('id_observation' => $idObs, 'transmission' => 1, 'standard' => 0);
$obsTrouvee = $this->rechercheObs->rechercherObservations(null, $criteres, 0, 1)->get();
 
$observation = array();