Subversion Repositories eFlore/Applications.del

Rev

Rev 1840 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1840 Rev 1851
Line 137... Line 137...
137
 
137
 
138
	private function analyserRessoucesModification() {
138
	private function analyserRessoucesModification() {
139
		if (count($this->ressources) == 1) {
139
		if (count($this->ressources) == 1) {
140
			if ($this->methode == 'modifier' && $this->etreRessourceIdentifiant(0)) {
140
			if ($this->methode == 'modifier' && $this->etreRessourceIdentifiant(0)) {
141
				// http://localhost/service:del:0.1/observations/#idObs
141
				// http://localhost/service:del:0.1/observations/#idObs
142
				$this->sousServiceNom = 'observation';
142
				$this->sousServiceNom = 'observation-details';
143
			}
143
			}
144
		} else if (count($this->ressources) == 3) {
144
		} else if (count($this->ressources) == 3) {
145
			if ($this->etreRessourceIdentifiant(0) && $this->etreRessourceIdentifiant(1) && $this->verifierRessourceValeur(2, 'vote')) {
145
			if ($this->etreRessourceIdentifiant(0) && $this->etreRessourceIdentifiant(1) && $this->verifierRessourceValeur(2, 'vote')) {
146
				// http://localhost/service:del:0.1/observations/#idObs/#idProposition/vote/
146
				// http://localhost/service:del:0.1/observations/#idObs/#idProposition/vote/