52,7 → 52,7 |
|
public function getBloc() { |
$donnees = array(); |
$donnees = $this->getBaseflor(false); |
$donnees = $this->getBaseflor(); |
$donnees['titre'] = 'Optimum écologique'; |
return $donnees; |
} |
80,7 → 80,7 |
return $baseflor; |
} |
|
private function getBaseflor($inclure_legende = true) { |
private function getBaseflor() { |
$baseflor = array(); |
$this->informations ->setProjet('baseflor'); |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel')); |
92,10 → 92,8 |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png"; |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png"; |
$this->graphique -> setProjet('baseflor'); |
if($inclure_legende) { |
$graphique = $this->graphique->getLegendeGraphique(); |
$baseflor['legende'] = $graphique ; |
} |
$graphique = $this->graphique->getLegendeGraphique(); |
$baseflor['legende'] = $graphique ; |
$this->meta->setProjet('baseflor'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |