90,15 → 90,15 |
|
|
public function getBloc() { |
$description = $this->getCoste(); |
$donnees['titre'] = "Description de Coste"; |
$description = $this->getCoste(); |
if ($description['description'] == '') { |
if (empty($description['description'])) { |
$description = $this->getBaseflor(); |
$donnees['titre'] = "Description Baseflor"; |
$description = $this->getBaseflor(); |
} |
if (empty($description['description'])) { |
$description = $this->getWikini(); |
$donnees['titre'] = "Description collaborative"; |
$description = $this->getWikini(); |
} |
$donnees['description'] = $description['description']; |
return $donnees; |