Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 978 Rev 1014
Line 41... Line 41...
41
	
41
	
42
	public function obtenirDonneesExport() {
42
	public function obtenirDonneesExport() {
43
		$this->donnees['nt'] = $this->nomCourant->getNt();
43
		$this->donnees['nt'] = $this->nomCourant->getNt();
44
		$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
44
		$this->donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
-
 
45
		$this->donnees['cel'] = $this->getCelExport();
45
		$this->donnees['cel'] = $this->getCelExport();
46
		$this->donnees['coste'] = $this->getCoste();
46
		return $this->donnees;
47
		return $this->donnees;
Line 47... Line 48...
47
	}
48
	}
48
 
49
 
Line 71... Line 72...
71
			$donnees['imageUrl'] =  $image['binaire.href'];
72
			$donnees['imageUrl'] =  $image['binaire.href'];
72
		}
73
		}
73
		return $donnees;
74
		return $donnees;
74
	}
75
	}
Line -... Line 76...
-
 
76
 
-
 
77
	public function getCoste() {
-
 
78
		$coste = array();
-
 
79
		$tax = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
-
 
80
		$this->images->setProjet('coste');
-
 
81
		$this->images->setNnTaxon($tax);
-
 
82
		$costeImg = $this->images->getInfosImagesTaxons();
-
 
83
		foreach ($costeImg as $infos) {
-
 
84
			$coste['images'][] = $infos['binaire.href'];
-
 
85
		}
-
 
86
		$this->meta->setProjet('coste');
-
 
87
		$meta = $this->meta->getMetaDonnees();
-
 
88
		$coste['meta']['titre']= $meta[0]['titre'];
-
 
89
		$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
-
 
90
		return $coste;
-
 
91
	}
75
 
92
 
76
	public function getDessin() {
93
	public function getDessin() {
77
		$projet = Config::get($this->referentiel.'.baseDessins');
94
		$projet = Config::get($this->referentiel.'.baseDessins');
78
		if ($projet != "") {
95
		if ($projet != "") {
79
			$dessin = array();
96
			$dessin = array();