Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 252 → Rev 253

/trunk/services/modules/0.1/chorodep/cartes/france_02.css
File deleted
/trunk/services/modules/0.1/chorodep/cartes/france_01.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/europe_01.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/france_02.svg
File deleted
/trunk/services/modules/0.1/chorodep/cartes/europe_02.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/france_03.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/france_04.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/france_05.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/monde_01.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/cartes/monde_02.svg
File deleted
\ No newline at end of file
/trunk/services/modules/0.1/chorodep/Cartes.php
196,17 → 196,26
 
private function analyserRessources() {
if (count($this->ressources) == 1) {
$message = "A implémenter : carte proportionnelle ensemble des infos";
$code = RestServeur::HTTP_CODE_RESSOURCE_INTROUVABLE;
} else if (count($this->ressources) == 1) {
$positionIds = 0;
if ($this->etreRessourceIdentifiants($positionIds)) {
$ids = $this->ressources[$positionIds];
$this->analyserIdentifiants($ids);
// TODO : charger une nouvelle classe executant le sous service.
} else if ($this->etreRessourceLegende(0)) {
$message = "A implémenter : légende carte proportionnelle ensemble des infos";
$code = RestServeur::HTTP_CODE_RESSOURCE_INTROUVABLE;
throw new Exception($message, $code);
} else {
throw new Exception("A implémenter : carte proportionnelle ensemble des infos");
$message = "La ressource n°1 '{$this->ressources[0]} indiquée n'est pas valable.";
$code = RestServeur::HTTP_CODE_MAUVAISE_REQUETE;
throw new Exception($message, $code);
}
} else if (count($this->ressources) == 2) {
if ($this->etreIdentifiants(0)) {
$ids = $this->ressources[$positionIds];
if ($this->etreRessourceIdentifiants(0)) {
$ids = $this->ressources[0];
$this->analyserIdentifiants($ids);
}
if ($this->etreRessourceLegende(1)) {