| Line 38... |
Line 38... |
| 38 |
$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
|
38 |
$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
|
| 39 |
$infosNomRetenu = $this->nomCourant->getNomRetenu()->getInfos();
|
39 |
$infosNomRetenu = $this->nomCourant->getNomRetenu()->getInfos();
|
| 40 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet'];
|
40 |
$this->donnees['nomComplet'] = $infosNomRetenu['nom_complet'];
|
| 41 |
$this->getPhotos();
|
41 |
$this->getPhotos();
|
| 42 |
$this->getDessin();
|
42 |
$this->getDessin();
|
| 43 |
//$this->getPhotosOrganes();
|
- |
|
| - |
|
43 |
|
| 44 |
$this->getPhotosCaracteresIdentification();
|
44 |
$this->getPhotosCaracteresIdentification();
|
| 45 |
$pso = $this->getPhotosSixOrganes();
|
45 |
$pso = $this->getPhotosSixOrganes();
|
| - |
|
46 |
|
| 46 |
// reconstruction de getPhotosOrganes à partir des données de getPhotosSixOrganes
|
47 |
// Le framework n'avait pas prévu l'inclusion de sous squelettes dans les modules
|
| 47 |
/*$this->donnees['organes'] = array();
|
- |
|
| 48 |
foreach ($pso as $organe => $images) {
|
48 |
// en attendant, on utilise un chemin complet vers le fichier de squelette
|
| 49 |
$clefs = array_keys($images);
|
- |
|
| 50 |
$image = $images[$clefs[0]];
|
- |
|
| 51 |
// changement de format - en dur, cracra !
|
49 |
$chemin_sous_squelette = Config::get('chemin_modules').AppControleur::getNomDossierDepuisClasse('Fiche').DS.Config::get('dossier_squelettes').DS;
|
| 52 |
$image['binaire.href'] = str_replace('CRX2S', 'CRS', $image['binaire.href']);
|
50 |
$params = array('organes' => $pso, 'referentiel' => $this->referentiel,
|
| 53 |
$this->donnees['organes'][$organe] = $image;
|
51 |
'nnr' => $this->donnees['nnr'],
|
| 54 |
}*/
|
- |
|
| 55 |
// --
|
- |
|
| 56 |
$this->setCheminSquelette('modules/fiche/squelettes/'); // @FIXME le chemin devrait déjà être défini correctement !?
|
- |
|
| 57 |
$params = array('organes' => $pso, 'referentiel' => $this->referentiel, 'nnr' => $this->donnees['nnr'], 'nomComplet' => $this->donnees['nomComplet']);
|
52 |
'nomComplet' => $this->donnees['nomComplet']);
|
| 58 |
$this->donnees['illustrationsOrganes'] = $this->getVue('fiche_illustrations_organes',$params);
|
53 |
$this->donnees['illustrationsOrganes'] = $this->getVue($chemin_sous_squelette.'fiche_illustrations_organes.tpl.html',$params);
|
| Line 59... |
Line 54... |
| 59 |
|
54 |
|
| 60 |
// chemins
|
55 |
// chemins
|
| 61 |
$this->donnees['base_url_widget_saisie'] = Config::get('base_url_widget_saisie');
|
56 |
$this->donnees['base_url_widget_saisie'] = Config::get('base_url_widget_saisie');
|
| 62 |
$this->donnees['base_url_del'] = Config::get('base_url_del');
|
57 |
$this->donnees['base_url_del'] = Config::get('base_url_del');
|