Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 196 → Rev 197

/trunk/services/bibliotheque/Conteneur.php
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'));