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; |
} |
} |
?> |