Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1140 Rev 1165
Line 139... Line 139...
139
		$referentiel = Registre::get('parametres.referentiel');
139
		$referentiel = Registre::get('parametres.referentiel');
140
		$champs_presence = Config::get($referentiel.'.champsPresence');
140
		$champs_presence = Config::get($referentiel.'.champsPresence');
141
		$champs_presence_spl = explode('|', $champs_presence);
141
		$champs_presence_spl = explode('|', $champs_presence);
142
		foreach($champs_presence_spl as $champ) {
142
		foreach($champs_presence_spl as $champ) {
143
			$label_param_champ = explode(':', $champ);
143
			$label_param_champ = explode(':', $champ);
-
 
144
			if(count($label_param_champ) >= 2) {
144
			$tableau_champs_presence[] = array('param' => $label_param_champ[1],
145
				$tableau_champs_presence[] = array('param' => $label_param_champ[1],
145
													'label' => $label_param_champ[0]);
146
													'label' => $label_param_champ[0]);
-
 
147
			}
146
		}
148
		}
147
		return $tableau_champs_presence;
149
		return $tableau_champs_presence;
148
	}
150
	}