Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 216 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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