Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Regard whitespace Rev 277 → Rev 278

/trunk/services/modules/0.1/commun/MetaDonnees.php
343,21 → 343,37
$pts = explode(',', $pts);
foreach ($pts as $pt) {
switch ($pt) {
case 'start' : $this->table_retour[$champ.'.start'] = $tab['start']; break;
case 'end' : $this->table_retour[$champ.'.end'] = $tab[' end']; break;
case 'code' : $this->table_retour[$champ.'.code'] = $val; break;
case 'href' : $this->table_retour[$champ.'.href'] =
$this->ajouterHrefAutreProjet($champ, '', $val); break;
case 'signification' : $this->table_retour[$champ] = $this->ajouterSignification($champ, $val); break;
case 'details' : if ($champ == 'couverture_spatiale') {
case 'start' :
if (isset($this->table_retour[$champ.'.start'])) {
$this->table_retour[$champ.'.start'] = $tab['start'];
}
break;
case 'end' :
if (isset($this->table_retour[$champ.'.end'])) {
$this->table_retour[$champ.'.end'] = $tab['end'];
}
break;
case 'code' :
$this->table_retour[$champ.'.code'] = $val;
break;
case 'href' :
$this->table_retour[$champ.'.href'] = $this->ajouterHrefAutreProjet($champ, '', $val);
break;
case 'signification' :
$this->table_retour[$champ] = $this->ajouterSignification($champ, $val);
break;
case 'details' :
if ($champ == 'couverture_spatiale') {
$this->afficherCouvertureSpatiale($champ, $tab);
} else {
$this->afficherTableDetails($champ, $tab);
} break;
default : $this->table_retour[$champ.'.'.$pt] = $tab[$pt]; break;
}
break;
default :
$this->table_retour[$champ.'.'.$pt] = $tab[$pt];
}
}
}