Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 419 Rev 422
Line 49... Line 49...
49
	}
49
	}
Line 50... Line 50...
50
	
50
	
51
	public function getBloc() {
51
	public function getBloc() {
52
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
52
		$nt = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
53
		$nomsVerna = $this->nomsVernaculaires->getRechercheLimitee($nt);
53
		$nomsVerna = $this->nomsVernaculaires->getRechercheLimitee($nt);
-
 
54
		$donnees['nomsVerna'] = (isset($nomsVerna['resultat']) && is_array($nomsVerna['resultat'])) ? array_slice($nomsVerna['resultat'], 0, 3) : array();
-
 
55
		$donnees['autresNomsVerna'] = count($nomsVerna['resultat']) - 3;
54
		$donnees['nomsVerna'] = (isset($nomsVerna['resultat']) && is_array($nomsVerna['resultat'])) ? array_slice($nomsVerna['resultat'], 0, 5) : array();
56
		$donnees['wikini'] = $this->getWikini();
55
		return $donnees;
57
		return $donnees;
Line 56... Line 58...
56
	}
58
	}
57
		
59