Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 307 Rev 308
Line 44... Line 44...
44
		return $nvjfl;
44
		return $nvjfl;
45
	}
45
	}
Line 46... Line 46...
46
 
46
 
47
	public function getBloc() {
47
	public function getBloc() {
48
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
48
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
49
		$nomsVerna = $this->nomsVernaculaires->getRechercheComplete($nt);
49
		$nomsVerna = $this->nomsVernaculaires->getRechercheLimitee($nt);
50
		$donnees['nomsVernaNbre'] = count($nomsVerna['resultat']);
50
		$donnees['nomsVerna'] = array_slice($nomsVerna['resultat'], 0, 5);
51
		return $donnees;
51
		return $donnees;
52
	}
52
	}
53
}
53
}
54
?>
54
?>