/trunk/modules/fiche/Fiche.php |
---|
60,7 → 60,10 |
} |
private function obtenirDonnees($donnees = array()) { |
if ($this->onglet != 'synthese') { |
if ($this->onglet == 'synthese') { |
$serviceRepartition = new Repartition($this->num_nom, 'nn', "190x178"); |
$donnees['repartition_vignette'] = $serviceRepartition->getUrlPng(); |
} else { |
$classe = ucfirst($this->onglet); |
$metier = new $classe(); |
$donnees = $metier->obtenirDonnees($this->num_nom); |