Line 46... |
Line 46... |
46 |
$baseflor = array();
|
46 |
$baseflor = array();
|
47 |
$this->informations ->setProjet('baseflor');
|
47 |
$this->informations ->setProjet('baseflor');
|
48 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
48 |
$this->informations ->setBdnt($this->conteneur->getParametre('referentiel'));
|
49 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
49 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom'));
|
50 |
$informations = $this->informations->getInformations();
|
50 |
$informations = $this->informations->getInformations();
|
- |
|
51 |
if ($informations){
|
51 |
$baseflor['chorologie'] = $informations['chorologie'];
|
52 |
$baseflor['chorologie'] = $informations['chorologie'];
|
52 |
$baseflor['inflorescence'] = $informations['inflorescence'];
|
53 |
$baseflor['inflorescence'] = $informations['inflorescence'];
|
53 |
$baseflor['sexualite'] = $informations['sexualite'];
|
54 |
$baseflor['sexualite'] = $informations['sexualite'];
|
54 |
$baseflor['ordre_maturation'] = $informations['ordre_maturation'];
|
55 |
$baseflor['ordre_maturation'] = $informations['ordre_maturation'];
|
55 |
$baseflor['pollinisation'] = $informations['pollinisation'];
|
56 |
$baseflor['pollinisation'] = $informations['pollinisation'];
|
Line 66... |
Line 67... |
66 |
$meta = $this->meta->getMetaDonnees();
|
67 |
$meta = $this->meta->getMetaDonnees();
|
67 |
$citation = $meta[0]['citation'];
|
68 |
$citation = $meta[0]['citation'];
|
68 |
$baseflor['meta']['citation'] = $citation;
|
69 |
$baseflor['meta']['citation'] = $citation;
|
69 |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
|
70 |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
|
Line -... |
Line 71... |
- |
|
71 |
|
70 |
|
72 |
}
|
71 |
return $baseflor;
|
73 |
return $baseflor;
|
Line 72... |
Line 74... |
72 |
}
|
74 |
}
|
73 |
|
75 |
|
Line 91... |
Line 93... |
91 |
$description = $this->getCoste();
|
93 |
$description = $this->getCoste();
|
92 |
if ($description['description'] == '') {
|
94 |
if ($description['description'] == '') {
|
93 |
$donnees['titre'] = "Description Baseflor";
|
95 |
$donnees['titre'] = "Description Baseflor";
|
94 |
$description = $this->getBaseflor();
|
96 |
$description = $this->getBaseflor();
|
95 |
}
|
97 |
}
|
96 |
if ($description['description'] == '') {
|
98 |
if (empty($description['description'])) {
|
97 |
$donnees['titre'] = "Description collaborative";
|
99 |
$donnees['titre'] = "Description collaborative";
|
98 |
$description = $this->getWikini();
|
100 |
$description = $this->getWikini();
|
99 |
}
|
101 |
}
|
100 |
$donnees['description'] = $description['description'];
|
102 |
$donnees['description'] = $description['description'];
|
101 |
return $donnees;
|
103 |
return $donnees;
|