Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 337 Rev 340
Line 28... Line 28...
28
	
28
	
29
	public function getBloc() {
29
	public function getBloc() {
30
		$donnees['taxons_sup'] = $this->getTaxonsSuperieurs();
30
		$donnees['taxons_sup'] = $this->getTaxonsSuperieurs();
Line 31... Line 31...
31
		$donnees['taxons_inf'] = $this->getTaxonsInferieurs();
31
		$donnees['taxons_inf'] = $this->getTaxonsInferieurs();
32
		
32
		
Line 33... Line 33...
33
		$donnees['taxons_sup'] = array_slice($donnees['taxons_sup'], 0 , 3);
33
		$donnees['taxons_sup'] = is_array($donnees['taxons_sup']) ? array_slice($donnees['taxons_sup'], 0 , 3) : array();
34
		$donnees['taxons_inf'] = array_slice($donnees['taxons_inf'], 0 , 3);
34
		$donnees['taxons_inf'] = is_array($donnees['taxons_inf']) ? array_slice($donnees['taxons_inf'], 0 , 3) : array();
Line 35... Line 35...
35
		
35