/trunk/modules/fiche/formateurs/Illustrations.php |
---|
36,8 → 36,8 |
public function getBloc() { |
// Trop long, il faut un service spécial... |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nnr)); |
$image = array_slice($infos_image['resultats'], 0); |
$donnees['imageUrl'] = $image[0]['binaire.href']; |
return $donnees; |
46,8 → 46,8 |
public function getPhotoFlora() { |
$photoflora = array(); |
$this->images->setProjet('photoflora'); |
$nns = $this->nomCourant->getNns(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nnr)); |
$this->meta->setProjet('photoflora'); |
$meta = $this->meta->getMetaDonnees(); |
61,8 → 61,8 |
public function getCel() { |
$cel = array(); |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nnr)); |
$this->meta->setProjet('cel'); |
$meta = $this->meta->getMetaDonnees(); |
/trunk/modules/fiche/formateurs/Nomenclature.php |
---|
41,8 → 41,8 |
$donnees['urls'] = $this->appUrls; |
$donnees['nom_retenu_formate'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html_complet'); |
$donnees['basionyme_nom_retenu'] = $this->nomCourant->getNomRetenu()->get('basionyme_html_complet'); |
$donnees['nom_selectionne'] = $this->nomCourant->getNomSelectionne()->get('nom_sci'); |
$donnees['nom_retenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci'); |
$donnees['nom_selectionne'] = $this->nomCourant->getNomSelectionne()->get('nom_sci_html'); |
$donnees['nom_retenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html'); |
return $donnees; |
} |
57,8 → 57,8 |
} |
private function getFlores() { |
$nns = $this->nomCourant->getNns(); |
$flores = $this->noms->getFlores($nns); |
$nnr = $this->nomCourant->getNnr(); |
$flores = $this->noms->getFlores($nnr); |
$flores['resultat'] = (isset($flores['resultat']) && is_array($flores['resultat'])) ? $flores['resultat'] : array(); |
return $flores['resultat']; |
} |
/trunk/modules/fiche/formateurs/Repartition.php |
---|
39,7 → 39,7 |
private function getChorodep() { |
$this->cartes->setProjet('chorodep'); |
$this->cartes->setLargeur('630'); |
$id = 'nn:'.$this->nomCourant->getNns(); |
$id = 'nn:'.$this->nomCourant->getNnr(); |
$this->cartes->setId($id); |
$chorodep['svgUrl'] = $this->cartes->getUrlDataSvg(); |
$chorodep['pngUrl'] = $this->cartes->getUrlPng(); |
/trunk/modules/fiche/formateurs/Description.php |
---|
79,7 → 79,7 |
private function getCoste() { |
$coste = array(); |
$this->textes->setProjet('coste'); |
$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNns()); |
$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNnr()); |
$texte = $this->textes->getTexte(); |
$coste['titre'] = $texte['titre']; |
$coste['description'] = $texte['texte']; |
87,7 → 87,7 |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$coste['meta']['citation'] = $citation; |
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('chorodep'); |
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste'); |
return $coste; |
} |
} |
/trunk/modules/fiche/formateurs/Ethnobotanique.php |
---|
58,7 → 58,7 |
} |
private function getChorologie() { |
$infos_choro = $this->nomCourant->getNomSelectionne()->getInfos(); |
$infos_choro = $this->nomCourant->getNomRetenu()->getInfos(); |
$donnees = $this->traiterTableauChorologie($infos_choro); |
$this->meta->setProjet('bdtfx'); |
$meta = $this->meta->getMetaDonnees(); |