15,13 → 15,13 |
class Illustrations extends aControleur { |
|
private $conteneur = null; |
private $nomCourrant = null; |
private $nomCourant = null; |
private $images = null; |
private $meta = null; |
|
public function __construct(Conteneur $conteneur) { |
$this->conteneur = $conteneur; |
$this->nomCourrant = $this->conteneur->getNomCourrant(); |
$this->nomCourant = $this->conteneur->getNomCourant(); |
$this->images = $this->conteneur->getApiImages(); |
$this->appUrls = $this->conteneur->getAppUrls(); |
} |
36,7 → 36,7 |
// Trop long, il faut un service spécial... |
/* |
$this->images->setProjet('cel'); |
$nns = $this->nomCourrant->getNns(); |
$nns = $this->nomCourant->getNns(); |
$urls = $this->images->getUrlsImagesParIdsNoms(array($nns)); |
$donnees['imageUrl'] = $urls["bdtfx.$nns"][0]; |
*/ |
46,7 → 46,7 |
public function getCel() { |
$cel = array(); |
$this->images->setProjet('cel'); |
$nns = $this->nomCourrant->getNns(); |
$nns = $this->nomCourant->getNns(); |
$urls = $this->images->getUrlsImagesParIdsNoms(array($nns)); |
$cel['imagesUrl'] = $urls["bdtfx.$nns"]; |
|