Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 708 → Rev 709

/trunk/modules/fiche/Fiche.php
70,7 → 70,6
}
 
public function executerFiche(){
$squelette = 'fiche_'.$this->onglet;
//Gestion du niveau
92,14 → 91,29
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil_niveau'.$niveau, $donnees), true);
$this->ajouterLienModuleExport();
$this->ajouterPiedDePage();
}
 
public function ajouterLienModuleExport() {
$donnees['lien'] = $this->url->obtenirUrlPdfExport($this->parametres['num_nom']);
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_pdf_lien', $donnees), true);
$export = $this->getVue('fiche_pdf_lien', $donnees);
return $export;
}
public function ajouterPiedDePage() {
$description = new Description($this->conteneur);
$taxons = new Taxons($this->conteneur);
$referentiel = $this->conteneur->getParametre('referentiel');
$donnees = array('wikipedia' => $description->getWikipedia(),
'export_pdf' => $this->ajouterLienModuleExport(),
'permalien_num_nom' => $taxons->getUrlPermalienNumNom($referentiel, 1, $this->conteneur->getNomCourant()->getNns()),
'permalien_taxon' => $taxons->getUrlPermalienTaxon($referentiel, 1, $this->conteneur->getNomCourant()->getNt()),
'nn' => $this->conteneur->getNomCourant()->getNns(),
'nt' => $this->conteneur->getNomCourant()->getNt(),
'wiki' => $description->getLienWikini());
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_pied_page', $donnees), true);
}
public function executerOnglet(){
$donnees = $this->obtenirDonnees();
header('Content-type: text/html');