111,13 → 111,8 |
|
private function analyserRessoucesConsultation() { |
if (count($this->ressources) == 0) { |
if ($this->verifierParametreValeur('retour.format', 'widget')) { |
// http://localhost/service:del:0.1/observations?retour.format=widget |
$this->sousServiceNom = 'liste-observations-widget'; |
} else { |
// http://localhost/service:del:0.1/observations |
$this->sousServiceNom = 'liste-observations'; |
} |
// http://localhost/service:del:0.1/observations |
$this->sousServiceNom = 'liste-observations'; |
} else if (count($this->ressources) == 1) { |
if ($this->etreRessourceIdentifiant(0)) { |
// http://localhost/service:del:0.1/observations/#idObs |