Line 41... |
Line 41... |
41 |
$this->getDessin();
|
41 |
$this->getDessin();
|
42 |
//$this->getPhotosOrganes();
|
42 |
//$this->getPhotosOrganes();
|
43 |
$this->getPhotosCaracteresIdentification();
|
43 |
$this->getPhotosCaracteresIdentification();
|
44 |
$pso = $this->getPhotosSixOrganes();
|
44 |
$pso = $this->getPhotosSixOrganes();
|
45 |
// reconstruction de getPhotosOrganes à partir des données de getPhotosSixOrganes
|
45 |
// reconstruction de getPhotosOrganes à partir des données de getPhotosSixOrganes
|
46 |
$this->donnees['organes'] = array();
|
46 |
/*$this->donnees['organes'] = array();
|
47 |
foreach ($pso as $organe => $images) {
|
47 |
foreach ($pso as $organe => $images) {
|
48 |
$clefs = array_keys($images);
|
48 |
$clefs = array_keys($images);
|
49 |
$image = $images[$clefs[0]];
|
49 |
$image = $images[$clefs[0]];
|
50 |
// changement de format - en dur, cracra !
|
50 |
// changement de format - en dur, cracra !
|
51 |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']);
|
51 |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']);
|
52 |
$this->donnees['organes'][$organe] = $image;
|
52 |
$this->donnees['organes'][$organe] = $image;
|
53 |
}
|
53 |
}*/
|
54 |
// --
|
54 |
// --
|
55 |
$this->setCheminSquelette('modules/fiche/squelettes/'); // @FIXME le chemin devrait déjà être défini correctement !?
|
55 |
$this->setCheminSquelette('modules/fiche/squelettes/'); // @FIXME le chemin devrait déjà être défini correctement !?
|
56 |
$params = array('organes' => $pso, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']);
|
56 |
$params = array('organes' => $pso, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']);
|
57 |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',$params);
|
57 |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',$params);
|