Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 559 → Rev 560

/trunk/modules/fiche/formateurs/Description.php
48,26 → 48,28
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
$informations = $this->informations->getInformations();
$baseflor['chorologie'] = $informations['chorologie'];
$baseflor['inflorescence'] = $informations['inflorescence'];
$baseflor['sexualite'] = $informations['sexualite'];
$baseflor['ordre_maturation'] = $informations['ordre_maturation'];
$baseflor['pollinisation'] = $informations['pollinisation'];
$baseflor['dissemination'] = $informations['dissemination'];
$baseflor['fruit'] = $informations['fruit'];
$baseflor['couleur_fleur'] = $informations['couleur_fleur'];
$baseflor['macule'] = $informations['macule'];
$baseflor['floraison'] = $this->changerFloraisonEnChaine($informations['floraison']);
//récupérer dans ontologies
$baseflor['type_bio'] = $informations['type_bio.libelle'];
$baseflor['form_vegetale'] = $informations['form_vegetale'];
$baseflor['description']=$baseflor;
$this->meta->setProjet('baseflor');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseflor['meta']['citation'] = $citation;
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
if ($informations){
$baseflor['chorologie'] = $informations['chorologie'];
$baseflor['inflorescence'] = $informations['inflorescence'];
$baseflor['sexualite'] = $informations['sexualite'];
$baseflor['ordre_maturation'] = $informations['ordre_maturation'];
$baseflor['pollinisation'] = $informations['pollinisation'];
$baseflor['dissemination'] = $informations['dissemination'];
$baseflor['fruit'] = $informations['fruit'];
$baseflor['couleur_fleur'] = $informations['couleur_fleur'];
$baseflor['macule'] = $informations['macule'];
$baseflor['floraison'] = $this->changerFloraisonEnChaine($informations['floraison']);
//récupérer dans ontologies
$baseflor['type_bio'] = $informations['type_bio.libelle'];
$baseflor['form_vegetale'] = $informations['form_vegetale'];
$baseflor['description']=$baseflor;
$this->meta->setProjet('baseflor');
$meta = $this->meta->getMetaDonnees();
$citation = $meta[0]['citation'];
$baseflor['meta']['citation'] = $citation;
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
}
return $baseflor;
}
93,7 → 95,7
$donnees['titre'] = "Description Baseflor";
$description = $this->getBaseflor();
}
if ($description['description'] == '') {
if (empty($description['description'])) {
$donnees['titre'] = "Description collaborative";
$description = $this->getWikini();
}