20,10 → 20,10 |
$tableauPartiel = array_map('trim', $tableauPartiel); |
foreach ($tableauPartiel as $champ) { |
if (strpos($champ, '=') === false) { |
$tableau[] = $champ; |
$tableau[] = trim($champ); |
} else { |
list($cle, $val) = explode('=', $champ); |
$tableau[$cle] = $val; |
$tableau[trim($cle)] = trim($val); |
} |
} |
} |
93,7 → 93,7 |
$service = new $classe($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getBdd()); |
if ($service instanceof NomDetails) { |
$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl')); |
$service->setChampsProjets($this->getParametreTableau('champsProjets')); |
$service->setChampsProjets($this->getParametreTableau('champsProjet')); |
$service->setOntologieHrefTpl($this->getParametre('ontologieHrefTpl')); |
} else if ($service instanceof NomsListe) { |
$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl')); |