Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 305 → Rev 306

/trunk/modules/fiche/formateurs/Ethnobotanique.php
25,9 → 25,22
}
 
public function obtenirDonnees() {
$donnees['nvjfl'] = $this->getNvjfl();
return $donnees;
}
 
private function getNvjfl() {
$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
$donnees = $this->nomsVernaculaires->getRechercheComplete($nt);
$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
$donnees['noms'] = $nomsVerna['resultat'];
return $donnees;
}
 
public function getBloc() {
$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
$donnees['nomsVernaNbre'] = count($nomsVerna['resultat']);
return $donnees;
}
}
?>
/trunk/modules/fiche/formateurs/Synthese.php
33,6 → 33,8
$donnees['nomenclature'] = $nomenclature->getBloc();
$description = new Description($this->conteneur);
$donnees['description'] = $description->getBloc();
$ethnobotanique = new Ethnobotanique($this->conteneur);
$donnees['ethnobotanique'] = $ethnobotanique->getBloc();
return $donnees;
}