102,7 → 102,7 |
|
//TODO: factoriser les deux fonctions ci dessous et ci dessus |
public function obtenirTranchesCelTpl($projet) { |
// On ne prend que la tranche des images (10) |
// On ne prend que la tranche des images (12) |
$images = $this->initialiserTranchePhotos($projet); |
$this->formaterListePhotos($projet, $images); |
$this->formaterMetaPhotos($projet); |
274,7 → 274,7 |
private function initialiserTranchePhotos($projet) { |
$this->images->setProjet($projet); |
$nnr = $this->nomCourant->getNnr(); |
$ret = $this->images->getInfosTrancheImagesParIdsNoms(array($nnr)); |
$ret = $this->images->getInfosTrancheImagesParIdsNoms(array($nnr), Config::get('nbTrancheImagesResultatsDeterminationAffichees')); |
return $ret; |
} |
|