Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 306 → Rev 307

/trunk/modules/fiche/formateurs/Ethnobotanique.php
22,6 → 22,8
$this->conteneur = $conteneur;
$this->nomCourant = $this->conteneur->getNomCourant();
$this->nomsVernaculaires = $this->conteneur->getApiNomsVernaculaires();
$this->meta = $this->conteneur->getApiMetaDonnees();
$this->appUrls = $this->conteneur->getAppUrls();
}
 
public function obtenirDonnees() {
30,10 → 32,16
}
 
private function getNvjfl() {
$nvjfl = array();
$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
$donnees['noms'] = $nomsVerna['resultat'];
return $donnees;
$nvjfl['noms'] = $nomsVerna['resultat'];
$this->meta->setProjet('nvjfl');
$meta = $this->meta->getMetaDonnees();
$titreMeta = $meta[0]['titre'];
$nvjfl['meta']['titre'] = $titreMeta;
$nvjfl['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('nvjfl');
return $nvjfl;
}
 
public function getBloc() {