Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 216 Rev 247
Line 30... Line 30...
30
	public function formater() {
30
	public function formater() {
31
		foreach ($this->noms as $id => $nom) {
31
		foreach ($this->noms as $id => $nom) {
32
			$infosDuNom = array();
32
			$infosDuNom = array();
33
			$infosDuNom['nomSci'] = $nom['nom_sci'];
33
			$infosDuNom['nomSci'] = $nom['nom_sci'];
34
			$infosDuNom['retenu'] = $nom['retenu'];
34
			$infosDuNom['retenu'] = $nom['retenu'];
-
 
35
			$nom_retenu = $nom['retenu'] == 'true' ? $nom['nom_sci'] : '';
35
			$infosDuNom['urlFiche'] = $this->urls->obtenirUrlFiche($id, $this->parametres->typeNom, $this->parametres->masqueRecherche);
36
			$infosDuNom['urlFiche'] = $this->urls->obtenirUrlFiche($id, $this->parametres->typeNom, $this->parametres->masqueRecherche, $nom_retenu);
Line 36... Line 37...
36
 
37
 
37
			$this->infosPourTpl['noms'][$id] = $infosDuNom;
38
			$this->infosPourTpl['noms'][$id] = $infosDuNom;
38
		}
39
		}