Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1358 → Rev 1359

/trunk/modules/fiche/formateurs/Synthese.php
27,6 → 27,8
public function obtenirDonnees() {
$donnees = array();
$num_nom = $this->nomCourant->getNns();
 
$nom = $this->conteneur->getApiNoms()->getNom($num_nom);
$blocs = array(
'illustrations', // grep-friendly: new Illustrations()
41,7 → 43,7
$cache = array();
$nt = $this->conteneur->getNomCourant()->getNomRetenu()->get('num_taxonomique');
$donnees['infos'] = array('referentiel' => $this->conteneur->getParametre('referentiel'), 'num_tax' => $nt);
$donnees['infos'] = array('referentiel' => $this->conteneur->getParametre('referentiel'), 'num_tax' => $nt, 'nom_sci' => $nom['nom_complet']);
$referentiel = $this->conteneur->getParametre('referentiel');
foreach ($blocs as $bloc) {
// TODO: unserialize() pourrait aussi légitimement retourner FALSE