Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 553 Rev 621
Line 32... Line 32...
32
		$donnees = array();
32
		$donnees = array();
33
		$donnees['nt'] = $this->nomCourant->getNt();
33
		$donnees['nt'] = $this->nomCourant->getNt();
34
		$donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
34
		$donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
35
		$donnees['cel'] = $this->getCel();
35
		$donnees['cel'] = $this->getCel();
36
		$donnees['photoflora'] = $this->getPhotoFlora();
36
		$donnees['photoflora'] = $this->getPhotoFlora();
-
 
37
		$donnees['coste'] = $this->getCoste();
37
		return $donnees;
38
		return $donnees;
38
	}
39
	}
Line 39... Line 40...
39
 
40
 
40
	public function getBloc() {
41
	public function getBloc() {
Line 50... Line 51...
50
		$image = array_shift($infos_image['resultats']);
51
		$image = array_shift($infos_image['resultats']);
51
		$donnees['imageUrl'] = $image['binaire.href'];
52
		$donnees['imageUrl'] = $image['binaire.href'];
52
		return $donnees;
53
		return $donnees;
53
	}
54
	}
Line -... Line 55...
-
 
55
 
-
 
56
	public function getCoste() {
-
 
57
		$coste = array();
-
 
58
		$tax = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
-
 
59
		$this->images->setProjet('coste');
-
 
60
		$this->images->setNnTaxon($tax);
-
 
61
		$costeImg = $this->images->getInfosImagesTaxons();
-
 
62
			foreach ($costeImg as $infos) {
-
 
63
				$coste['images'][] = $infos['binaire.href'];
-
 
64
			}
-
 
65
		return $coste;
-
 
66
	}
54
 
67
	
55
	public function getPhotoFlora() {
68
	public function getPhotoFlora() {
56
		$photoflora = array();
69
		$photoflora = array();
57
		$this->images->setProjet('photoflora');
70
		$this->images->setProjet('photoflora');
58
		$nnr = $this->nomCourant->getNnr();
71
		$nnr = $this->nomCourant->getNnr();