Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1058 Rev 1130
Line 59... Line 59...
59
		$this->informations->setLimite($limite);
59
		$this->informations->setLimite($limite);
60
		$informations = $this->informations->getInformationsRelationCatminat();
60
		$informations = $this->informations->getInformationsRelationCatminat();
61
		if($informations != ""){
61
		if($informations != ""){
62
			$baseflorCatminat['catminat'] = $informations['resultat'][0]['catminat_code'];
62
			$baseflorCatminat['catminat'] = $informations['resultat'][0]['catminat_code'];
63
			$baseflorCatminat['lien-liste-fancy'] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_taxons',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$baseflorCatminat['catminat']);
63
			$baseflorCatminat['lien-liste-fancy'] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_taxons',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$baseflorCatminat['catminat']);
64
		}else {
64
		} else {
65
			$baseflorCatminat['aucune'] = 'Aucune donnée';
65
			$baseflorCatminat['aucune'] = 'Aucune donnée';
66
		}
66
		}
67
		return $baseflorCatminat;
67
		return $baseflorCatminat;
68
	}
68
	}
Line 88... Line 88...
88
				}
88
				}
89
				$baseveg['synonymes']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_synonymes',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat);
89
				$baseveg['synonymes']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_synonymes',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat);
90
				$baseveg['ref']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_ref',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat);
90
				$baseveg['ref']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_ref',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat);
91
				$this->meta->setProjet('baseveg');
91
				$this->meta->setProjet('baseveg');
92
				$meta = $this->meta->getMetaDonnees();
92
				$meta = $this->meta->getMetaDonnees();
93
				$citation = $meta[0]['citation'];
-
 
94
				$baseveg['meta']['citation'] = $citation;
93
				$baseveg['meta'] = $meta[0];
95
				$baseveg['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseveg');
94
				$baseveg['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseveg');
96
			}else {
95
			}else {
97
				$baseveg['aucune'] = 'Aucune donnée';
96
				$baseveg['aucune'] = 'Aucune donnée';
98
			}
97
			}
99
			$this->donnees['baseveg'] = $baseveg;
98
			$this->donnees['baseveg'] = $baseveg;
Line 146... Line 145...
146
			$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
145
			$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
147
			$this->graphique -> setProjet('baseflor');
146
			$this->graphique -> setProjet('baseflor');
148
			$baseflor['legende_eco'] = $this->urls->obtenirUrlBaseDossier() . Config::get('dossier_images') . '/legende_formes.png';
147
			$baseflor['legende_eco'] = $this->urls->obtenirUrlBaseDossier() . Config::get('dossier_images') . '/legende_formes.png';
149
			$this->meta->setProjet('baseflor');
148
			$this->meta->setProjet('baseflor');
150
			$meta = $this->meta->getMetaDonnees();
149
			$meta = $this->meta->getMetaDonnees();
151
			$citation = $meta[0]['citation'];
-
 
152
			$baseflor['meta']['citation'] = $citation;
150
			$baseflor['meta']= $meta[0];
153
		}else {
151
		}else {
154
			$baseflor['aucune'] = 'Aucune donnée';
152
			$baseflor['aucune'] = 'Aucune donnée';
155
		}
153
		}
156
		return $baseflor;
154
		return $baseflor;
157
	}
155
	}
Line 194... Line 192...
194
						$graphique = $this->graphique->getLegendeGraphique();
192
						$graphique = $this->graphique->getLegendeGraphique();
195
						$baseflor['legende'] =  $graphique ;
193
						$baseflor['legende'] =  $graphique ;
196
					}
194
					}
197
					$this->meta->setProjet('baseflor');
195
					$this->meta->setProjet('baseflor');
198
					$meta = $this->meta->getMetaDonnees();
196
					$meta = $this->meta->getMetaDonnees();
199
					$citation = $meta[0]['citation'];
-
 
200
					$baseflor['meta']['citation'] = $citation;
197
					$baseflor['meta'] = $meta[0];
201
					$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
198
					$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
Line 202... Line 199...
202
					
199
					
203
					$this->conteneur->getCache()->sauver(serialize($baseflor),
200
					$this->conteneur->getCache()->sauver(serialize($baseflor),
204
														 'baseflor/graphique/'.$referentiel.'_'.$num_nom);
201
														 'baseflor/graphique/'.$referentiel.'_'.$num_nom);