Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 618 Rev 736
Line 64... Line 64...
64
	}
64
	}
Line 65... Line 65...
65
	
65
	
66
	private function obtenirUrlsImagesCoste() {
66
	private function obtenirUrlsImagesCoste() {
67
		$this->extraireInfosTaxons();
67
		$this->extraireInfosTaxons();
68
		$this->imagesService->setProjet('coste');
68
		$this->imagesService->setProjet('coste');
69
		foreach ($this->infosPourTpl['taxons'] as $nn => $tax) {
69
		$tax = implode(',', $this->infosPourTpl['taxons']);
70
			$this->imagesService->setNnTaxon($tax);
70
		$this->imagesService->setNnTaxon($tax);
71
			$costeImg = $this->imagesService->getInfosImagesTaxons();
71
		$costeImg = $this->imagesService->getInfosImagesTaxons();
72
			if (!empty($costeImg)) {
72
		if (!empty($costeImg)) {
73
				foreach ($costeImg as  $infos) {
73
			foreach ($costeImg as  $infos) {
74
					$num_taxon = $infos['num_taxonomique'];
74
				$num_taxon = $infos['num_taxonomique'];
75
					$images[$num_taxon][] = $infos['binaire.href'];
75
				$images[$num_taxon][] = $infos['binaire.href'];
76
					$this->infosPourTpl['imagesCoste'] = $images;
-
 
77
				}
76
				$this->infosPourTpl['imagesCoste'] = $images;
78
			}
77
			}
79
		}
-
 
80
		
78
		}
Line 81... Line 79...
81
	}
79
	}
82
	
80
	
83
	private function extraireInfosTaxons() {
81
	private function extraireInfosTaxons() {
Line 89... Line 87...
89
		}
87
		}
90
	}
88
	}
Line 91... Line 89...
91
 
89
 
92
	private function obtenirUrlsPhotos() {
90
	private function obtenirUrlsPhotos() {
93
		$nns = $this->extraireNnDesNoms();
-
 
94
 
91
		$nns = $this->extraireNnDesNoms();
95
		$urls = $this->imagesService->getUrlsImagesParIdsNoms($nns);
-
 
96
 
92
		$urls = $this->imagesService->getUrlsImagesParIdsNoms($nns);
97
		$this->infosPourTpl['imagesUrls'] = $this->supprimerCodeReftaxDesUrls($urls);
93
		$this->infosPourTpl['imagesUrls'] = $this->supprimerCodeReftaxDesUrls($urls);
Line 98... Line 94...
98
	}
94
	}
99
 
95