Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1684 Rev 1706
Line 216... Line 216...
216
					$retour = $service->consulter($this->ressources, $this->parametres);
216
					$retour = $service->consulter($this->ressources, $this->parametres);
217
				} elseif ($this->methode == 'ajouter') {
217
				} elseif ($this->methode == 'ajouter') {
218
					$retour = $service->ajouter($this->ressources, $this->parametres);
218
					$retour = $service->ajouter($this->ressources, $this->parametres);
219
				} elseif ($this->methode == 'modifier') {
219
				} elseif ($this->methode == 'modifier') {
220
					$retour = $service->modifier($this->ressources, $this->parametres);
220
					$retour = $service->modifier($this->ressources, $this->parametres);
-
 
221
				} else {
-
 
222
					$message = "Le sous-service '{$this->sousServiceNom}' du service '{$this->serviceNom}' ".
-
 
223
						"ne possède pas de méthode '{$this->methode}' !";
-
 
224
					$code = RestServeur::HTTP_NON_IMPLEMENTE;
-
 
225
					throw new Exception($message, $code);
221
				}
226
				}
222
			}
227
			}
223
		}
228
		}
Line 224... Line 229...
224
 
229