39,9 → 39,19 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet']; |
$this->getPhotos(); |
$this->getDessin(); |
$this->getPhotosOrganes(); |
//$this->getPhotosOrganes(); |
$this->getPhotosCaracteresIdentification(); |
$pso = $this->getPhotosSixOrganes(); |
// reconstruction de getPhotosOrganes à partir des données de getPhotosSixOrganes |
$this->donnees['organes'] = array(); |
foreach ($pso as $organe => $images) { |
$clefs = array_keys($images); |
$image = $images[$clefs[0]]; |
// changement de format - en dur, cracra ! |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']); |
$this->donnees['organes'][$organe] = $image; |
} |
// -- |
$this->setCheminSquelette('modules/fiche/squelettes/'); // @FIXME le chemin devrait déjà être défini correctement !? |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes', |
array('organes' => $pso, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet'])); |