| Line 37... |
Line 37... |
| 37 |
$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
|
37 |
$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
|
| 38 |
$infosNomRetenu = $this->nomCourant->getNomRetenu()->getInfos();
|
38 |
$infosNomRetenu = $this->nomCourant->getNomRetenu()->getInfos();
|
| 39 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet'];
|
39 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet'];
|
| 40 |
$this->getPhotos();
|
40 |
$this->getPhotos();
|
| 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
|
| - |
|
46 |
$this->donnees['organes'] = array();
|
| - |
|
47 |
foreach ($pso as $organe => $images) {
|
| - |
|
48 |
$clefs = array_keys($images);
|
| - |
|
49 |
$image = $images[$clefs[0]];
|
| - |
|
50 |
// changement de format - en dur, cracra !
|
| - |
|
51 |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']);
|
| - |
|
52 |
$this->donnees['organes'][$organe] = $image;
|
| - |
|
53 |
}
|
| - |
|
54 |
// --
|
| 45 |
$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 !?
|
| 46 |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',
|
56 |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',
|
| 47 |
array('organes' => $pso, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']));
|
57 |
array('organes' => $pso, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']));
|
| 48 |
// chemins
|
58 |
// chemins
|
| 49 |
$this->donnees['base_url_widget'] = Config::get('base_url_widget');
|
59 |
$this->donnees['base_url_widget'] = Config::get('base_url_widget');
|