Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1438 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1438 Rev 1498
Line 334... Line 334...
334
	
334
	
335
	public function getCelExport() {
335
	public function getCelExport() {
336
		$cel = array();
336
		$cel = array();
337
		$this->images->setProjet('cel');
337
		$this->images->setProjet('cel');
338
		$nnr = $this->nomCourant->getNnr();
338
		$nnr = $this->nomCourant->getNnr();
339
		$img = $this->images->getUrlPremiereImageParIdsNoms(array($nnr));
339
		$img = $this->images->getInfosPremiereImageParIdsNoms(array($nnr));
340
		if($img) {
340
		if ($img) {
341
			$img = array_values($img);
341
			$img = array_values($img);
342
			$cel['images']['src'] = $img[0]['binaire.href'];
342
			$cel['images']['src'] = $img[0]['binaire.href'];
343
			$cel['images']['nomSci'] = $img[0]['determination.nom_sci'];
343
			$cel['images']['nomSci'] = $img[0]['determination.nom_sci'];
344
			$cel['images']['station'] = $img[0]['station.libelle'];
344
			$cel['images']['station'] = $img[0]['station.libelle'];