Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1444 → Rev 1445

/trunk/modules/fiche/formateurs/Statut.php
68,11 → 68,12
$projet = Config::get($this->referentiel.'.baseStatuts');
if ($projet != "") {
$nnr = $this->nomCourant->getNnr();
$statuts = $this->statuts->getStatutsZoneGeo($projet, $nnr);
$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
foreach ($reponse as $statut) {
$statuts[$statut['type_protection']][] = $statut['zone_application'];
}
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
$statuts['meta'] = $meta[0];
$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet);
}
return $statuts;
}