Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1163 → Rev 1164

/trunk/modules/fiche/Fiche.php
19,6 → 19,8
private $conteneur = null;
private $num_nom = 0;
private $nom_retenu = '';
private $nom_selectionne = null;
private $nom_appele_html = null; // le nom et l'auteur par lesquels on est arrivés sur la fiche, en cas de synonymie
private $url;
 
 
25,8 → 27,13
public function initialiser() {
$this->capturerParametres();
$this->conteneur = new Conteneur($this->parametres);
$nom_courant = $this->conteneur->getNomCourant();
$this->nom_selectionne = $nom_courant->getNomSelectionne();
$this->url = $this->conteneur->getAppUrls();
$this->nom_retenu = $this->conteneur->getNomCourant()->getNomRetenu();
$this->nom_retenu = $nom_courant->getNomRetenu();
if ($this->nom_retenu->get('id') != $this->nom_selectionne->get('id')) {
$this->nom_appele_html = $this->nom_selectionne->get('nom_sci_html').' '.$this->nom_selectionne->get('auteur');
}
spl_autoload_register(array($this, 'chargerClassesOnglets'));
}
 
95,6 → 102,7
// titre de la fiche
$donnees['nom_retenu_html'] = $this->nom_retenu->get('nom_sci_html').' '.$this->nom_retenu->get('auteur');
$donnees['nom_retenu'] = $this->nom_retenu->get('nom_sci');
$donnees['nom_appele_html'] = $this->nom_appele_html;
$donnees['famille'] = $this->nom_retenu->getTaxonSupRang('180');
$donnees['nom_vernaculaire'] = $verna;