105,6 → 105,20 |
return $this->formaterResultatImages($images); |
} |
|
public function getInfosImagesParFicheEtSentier($tagFiche, $sentier) { |
$tpl = Config::get('smartFloreIllustrationsParSentier'); |
$url = $this->formaterUrl($tpl, array('tagFiche' => $tagFiche, 'sentier' => $sentier)); |
$donnees = $this->chargerDonnees($url); |
return $donnees['illustrations'] ?? false; |
} |
|
public function getInfosImageParId($imageId) { |
$tpl = Config::get('baseUrlServicesCelTpl'); |
$urlTpl = sprintf($tpl, 'CelImage').'/image/imgId=%d'; |
$url = sprintf($urlTpl, $imageId); |
return $this->chargerDonnees($url); |
} |
|
public function getInfosImagesTaxons() { |
$pas = 800; |
$idsTaxons = explode(',', $this->nntaxon); |