/branches/v5.9-van-tieghem/modules/fiche/formateurs/Illustrations.php |
---|
84,7 → 84,8 |
// extraction de l'url |
$this->donnees = array('imageUrl' => $this->donnees['binaire.href']); |
} |
if (empty($this->donnees)) { |
// Photoflora (alias Copyrightflora alias Egoflora) n'est dispo que pour BDTFX |
if (empty($this->donnees) && $this->referentiel == "bdtfx") { |
$this->donnees = $this->getPhoto('photoflora'); |
} |
return $this->donnees; |
/branches/v5.9-van-tieghem/metier/api_0.1/Images.php |
---|
192,7 → 192,8 |
public function getUrlPremiereImageParIdsNoms($idsNoms) { |
$tpl = $this->obtenirSqueletteSelonApi('imagesPremiere'); |
$params = array('idsNoms' => implode(',', $idsNoms), 'referentiel' => Registre::get('parametres.referentiel')); |
return $this->formaterUrl($tpl, $params); |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
private function getUrlImages($nn = false) { |