Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 239 | Rev 536 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 239 Rev 278
Line 341... Line 341...
341
	public function afficherInfosPrecises($champ, $pts, $val, $tab = null) {
341
	public function afficherInfosPrecises($champ, $pts, $val, $tab = null) {
342
		//permet d'afficher les informations précises telles que les .details, .start, .end...
342
		//permet d'afficher les informations précises telles que les .details, .start, .end...
343
		$pts = explode(',', $pts);
343
		$pts = explode(',', $pts);
344
		foreach ($pts as $pt) {
344
		foreach ($pts as $pt) {
345
			switch ($pt) {
345
			switch ($pt) {
-
 
346
				case 'start' :
-
 
347
					if (isset($this->table_retour[$champ.'.start'])) {
346
				case 'start'   		 : 	$this->table_retour[$champ.'.start'] = $tab['start']; 					 break;
348
						$this->table_retour[$champ.'.start'] = $tab['start'];
-
 
349
					}
-
 
350
					break;
-
 
351
				case 'end' :
347
				case 'end' 			 : 	$this->table_retour[$champ.'.end'] = $tab[' end']; 						 break;
352
					if (isset($this->table_retour[$champ.'.end'])) {
348
				case 'code' 		 : 	$this->table_retour[$champ.'.code'] = $val; 							 break;
353
						$this->table_retour[$champ.'.end'] = $tab['end'];
-
 
354
					}
-
 
355
					break;
-
 
356
				case 'code' :
349
				case 'href' 		 : 	$this->table_retour[$champ.'.href'] =
357
					$this->table_retour[$champ.'.code'] = $val;
-
 
358
					break;
-
 
359
				case 'href' :
350
										$this->ajouterHrefAutreProjet($champ, '', $val);  				 	 break;
360
					$this->table_retour[$champ.'.href'] = $this->ajouterHrefAutreProjet($champ, '', $val);
-
 
361
					break;
-
 
362
				case 'signification' :
351
				case 'signification' :  $this->table_retour[$champ] = $this->ajouterSignification($champ, $val); break;
363
					$this->table_retour[$champ] = $this->ajouterSignification($champ, $val);
-
 
364
					break;
-
 
365
				case 'details' :
352
				case 'details' 		 :  if ($champ == 'couverture_spatiale') {
366
					if ($champ == 'couverture_spatiale') {
353
											$this->afficherCouvertureSpatiale($champ, $tab);
367
						$this->afficherCouvertureSpatiale($champ, $tab);
354
										} else {
368
					} else {
355
											$this->afficherTableDetails($champ, $tab);
369
						$this->afficherTableDetails($champ, $tab);
-
 
370
					}
356
										}																		 break;
371
					break;
-
 
372
				default :
357
				default 			 :  $this->table_retour[$champ.'.'.$pt] = $tab[$pt]; 						 break;
373
					$this->table_retour[$champ.'.'.$pt] = $tab[$pt];
358
			}
374
			}
359
		}
375
		}
360
	}
376
	}