Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 413 Rev 434
Line 35... Line 35...
35
 
35
 
36
	public function getBloc() {
36
	public function getBloc() {
37
		// Trop long, il faut un service spécial...
37
		// Trop long, il faut un service spécial...
38
		$this->images->setProjet('cel');
38
		$this->images->setProjet('cel');
39
		$nns = $this->nomCourant->getNns();
39
		$nns = $this->nomCourant->getNns();
-
 
40
		$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nns));
40
		$url = $this->images->getUrlPremiereImageParIdsNoms(array($nns));
41
		$image = array_slice($infos_image['resultats'], 0);
41
		$donnees['imageUrl'] = $url;
42
		$donnees['imageUrl'] = $image[0]['binaire.href'];
42
		return $donnees;
43
		return $donnees;
Line 43... Line 44...
43
	}
44
	}
44
	
45