Line 14... |
Line 14... |
14 |
|
14 |
|
15 |
private function obtenirChampsPresence() {
|
15 |
private function obtenirChampsPresence() {
|
16 |
$tableau_champs_presence = array();
|
16 |
$tableau_champs_presence = array();
|
17 |
$referentiel = Registre::get('parametres.referentiel');
|
17 |
$referentiel = Registre::get('parametres.referentiel');
|
18 |
$champs_presence = Config::get($referentiel.'.champsPresence');
|
- |
|
19 |
//echo '<pre>'.print_r($champs_presence,true).'</pre>';exit;
|
18 |
$champs_presence = Config::get($referentiel.'.champsPresence');
|
20 |
$champs_presence_spl = explode('|', $champs_presence);
|
19 |
$champs_presence_spl = explode('|', $champs_presence);
|
21 |
foreach($champs_presence_spl as $champ) {
|
20 |
foreach($champs_presence_spl as $champ) {
|
22 |
$label_param_champ = explode(':', $champ);
|
21 |
$label_param_champ = explode(':', $champ);
|
23 |
$tableau_champs_presence[] = array('param' => $label_param_champ[1],
|
22 |
$tableau_champs_presence[] = array('param' => $label_param_champ[1],
|