Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 357 Rev 358
Line 340... Line 340...
340
			foreach ($champs as $champ) {
340
			foreach ($champs as $champ) {
341
				if ($this->verifierValiditeChamp($champ)) {
341
				if ($this->verifierValiditeChamp($champ)) {
342
					if (strrpos($champ, '.*') !== false) {
342
					if (strrpos($champ, '.*') !== false) {
343
						$this->afficherPointEtoile($champ, $reponse_id);
343
						$this->afficherPointEtoile($champ, $reponse_id);
344
					} elseif (in_array($champ, $champs_a_libeller)) {
344
					} elseif (in_array($champ, $champs_a_libeller)) {
-
 
345
						$this->table_retour[$champ.'.libelle'] = 
345
						$this->table_retour[$champ.'.libelle'] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
346
							(isset($reponse_id[$champ.'.libelle'])) ? $reponse_id[$champ.'.libelle'] : null;
346
					} else {
347
					} else {
347
						$champ = $this->trouverChampBddCorrespondant($champ);
348
						$champ = $this->trouverChampBddCorrespondant($champ);
348
						$this->table_retour[$champ] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
349
						$this->table_retour[$champ] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
349
					}
350
					}
350
				}
351
				}