Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1143 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1143 Rev 1165
Line 278... Line 278...
278
		$tableau_champs_presence = array();
278
		$tableau_champs_presence = array();
279
		$referentiel = Registre::get('parametres.referentiel');
279
		$referentiel = Registre::get('parametres.referentiel');
280
		$champs_presence_spl = explode('|', Config::get($referentiel.'.champsPresence'));
280
		$champs_presence_spl = explode('|', Config::get($referentiel.'.champsPresence'));
281
		foreach($champs_presence_spl as $champ) {
281
		foreach($champs_presence_spl as $champ) {
282
			$label_param_champ = explode(':', $champ);
282
			$label_param_champ = explode(':', $champ);
-
 
283
			if(count($label_param_champ) >= 2) {
283
			$tableau_champs_presence[] = array('param' => $label_param_champ[1],
284
				$tableau_champs_presence[] = array('param' => $label_param_champ[1],
284
														'label' => $label_param_champ[0]);
285
														'label' => $label_param_champ[0]);
-
 
286
			}
285
		}
287
		}
286
		return $tableau_champs_presence;
288
		return $tableau_champs_presence;
287
	}
289
	}
Line 288... Line 290...
288
	
290