| Line 130... |
Line 130... |
| 130 |
$baseflor = array();
|
130 |
$baseflor = array();
|
| 131 |
$this->informations ->setProjet('baseflor');
|
131 |
$this->informations ->setProjet('baseflor');
|
| 132 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
132 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
| 133 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
133 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
| 134 |
$informations = $this->informations->getInformationsEcologie();
|
134 |
$informations = $this->informations->getInformationsEcologie();
|
| 135 |
if($informations != ""){
|
135 |
if(is_array($informations)){
|
| 136 |
$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
|
136 |
$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
|
| 137 |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
|
137 |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
|
| 138 |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
|
138 |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
|
| 139 |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
|
139 |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
|
| 140 |
$this->graphique -> setProjet('baseflor');
|
140 |
$this->graphique -> setProjet('baseflor');
|
| Line 161... |
Line 161... |
| 161 |
$baseflor = array();
|
161 |
$baseflor = array();
|
| 162 |
$this->informations ->setProjet('baseflor');
|
162 |
$this->informations ->setProjet('baseflor');
|
| 163 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
163 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
| 164 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
164 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
| 165 |
$informations = $this->informations->getInformationsEcologie();
|
165 |
$informations = $this->informations->getInformationsEcologie();
|
| 166 |
if($informations != ""){
|
166 |
if(is_array($informations)){
|
| 167 |
if ($informations['graphique_climat']) {
|
167 |
if (isset($informations['graphique_climat'])) {
|
| 168 |
$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
|
168 |
$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
|
| 169 |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
|
169 |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
|
| 170 |
$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420";
|
170 |
$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420";
|
| 171 |
$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png";
|
171 |
$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png";
|
| Line 172... |
Line 172... |
| 172 |
|
172 |
|
| 173 |
}
|
173 |
}
|
| 174 |
if ($informations['graphique_sol']) {
|
174 |
if (isset($informations['graphique_sol'])) {
|
| 175 |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
|
175 |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
|
| 176 |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
|
176 |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
|
| 177 |
$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420";
|
177 |
$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420";
|