104,7 → 104,21 |
$images = (empty($donnees['resultats']) == false) ? $donnees['resultats'] : array(); |
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); |
303,4 → 317,4 |
return implode(" > ", $localiteFmt); |
} |
} |
?> |
?> |