Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 307 → Rev 308

/trunk/modules/fiche/formateurs/Ethnobotanique.php
46,8 → 46,8
 
public function getBloc() {
$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
$donnees['nomsVernaNbre'] = count($nomsVerna['resultat']);
$nomsVerna = $this->nomsVernaculaires->getRechercheLimitee($nt);
$donnees['nomsVerna'] = array_slice($nomsVerna['resultat'], 0, 5);
return $donnees;
}
}