Subversion Repositories eFlore/Applications.del

Rev

Rev 1851 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1851 Rev 1881
Line 109... Line 109...
109
		}
109
		}
110
	}
110
	}
Line 111... Line 111...
111
 
111
 
112
	private function analyserRessoucesConsultation() {
112
	private function analyserRessoucesConsultation() {
113
		if (count($this->ressources) == 0) {
-
 
114
			if ($this->verifierParametreValeur('retour.format', 'widget')) {
-
 
115
				// http://localhost/service:del:0.1/observations?retour.format=widget
-
 
116
				$this->sousServiceNom = 'liste-observations-widget';
-
 
117
			} else {
113
		if (count($this->ressources) == 0) {
118
				// http://localhost/service:del:0.1/observations
114
			// http://localhost/service:del:0.1/observations
119
				$this->sousServiceNom = 'liste-observations';
-
 
120
			}
115
			$this->sousServiceNom = 'liste-observations';
121
		} else if (count($this->ressources) == 1) {
116
		} else if (count($this->ressources) == 1) {
122
			if ($this->etreRessourceIdentifiant(0)) {
117
			if ($this->etreRessourceIdentifiant(0)) {
123
				// http://localhost/service:del:0.1/observations/#idObs
118
				// http://localhost/service:del:0.1/observations/#idObs
124
				$this->sousServiceNom = 'observation-details';
119
				$this->sousServiceNom = 'observation-details';