Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 326 Rev 332
Line 337... Line 337...
337
		if (! is_null($champs) && is_array($champs) && count($champs) > 0) {
337
		if (! is_null($champs) && is_array($champs) && count($champs) > 0) {
338
			foreach ($champs as $champ) {
338
			foreach ($champs as $champ) {
339
				if ($this->verifierValiditeChamp($champ)) {
339
				if ($this->verifierValiditeChamp($champ)) {
340
					if (strrpos($champ, '.*') !== false) {
340
					if (strrpos($champ, '.*') !== false) {
341
						$this->afficherPointEtoile($champ, $reponse_id);
341
						$this->afficherPointEtoile($champ, $reponse_id);
-
 
342
					} elseif (strrpos($champ, '.') === false) {
-
 
343
						$this->table_retour[$champ.'.libelle'] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
342
					} else {
344
					} else {
343
						$champ = $this->trouverChampBddCorrespondant($champ);
345
						$champ = $this->trouverChampBddCorrespondant($champ);
344
						$this->table_retour[$champ] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
346
						$this->table_retour[$champ] = (isset($reponse_id[$champ])) ? $reponse_id[$champ] : null;
345
					}
347
					}
346
				}
348
				}