Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 302 | Rev 307 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 302 Rev 306
Line 23... Line 23...
23
		$this->nomCourant = $this->conteneur->getNomCourant();
23
		$this->nomCourant = $this->conteneur->getNomCourant();
24
		$this->nomsVernaculaires = $this->conteneur->getApiNomsVernaculaires();
24
		$this->nomsVernaculaires = $this->conteneur->getApiNomsVernaculaires();
25
	}
25
	}
Line 26... Line 26...
26
 
26
 
-
 
27
	public function obtenirDonnees() {
-
 
28
		$donnees['nvjfl'] = $this->getNvjfl();
-
 
29
		return $donnees;
-
 
30
	}
-
 
31
 
-
 
32
	private function getNvjfl() {
-
 
33
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
-
 
34
		$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
-
 
35
		$donnees['noms'] = $nomsVerna['resultat'];
-
 
36
		return $donnees;
-
 
37
	}
-
 
38
 
27
	public function obtenirDonnees() {
39
	public function getBloc() {
28
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
40
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
-
 
41
		$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
29
		$donnees = $this->nomsVernaculaires->getRechercheComplete($nt);
42
		$donnees['nomsVernaNbre'] = count($nomsVerna['resultat']);
30
		return $donnees;
43
		return $donnees;
31
	}
44
	}
32
}
45
}
33
?>
46
?>