Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 1170 Rev 1184
Line 109... Line 109...
109
		// Dans le cas où un num nom est demandé on ajoute les synonymes à la recherche
109
		// Dans le cas où un num nom est demandé on ajoute les synonymes à la recherche
110
		if($champ_nt_ou_nn == "num_nom") {
110
		if($champ_nt_ou_nn == "num_nom") {
111
			$url = $this->ajouterHrefAutreProjet('noms', $nt_ou_nn, '/relations/synonymie', 'bdtfx', 'retour.format=min');
111
			$url = $this->ajouterHrefAutreProjet('noms', $nt_ou_nn, '/relations/synonymie', 'bdtfx', 'retour.format=min');
112
			$val = (array)$this->consulterHref($url);
112
			$val = (array)$this->consulterHref($url);
Line 113... Line 113...
113
			
113
			
114
			if(isset($val['resultat'])) {
114
			if(isset($val['resultat']) && count($val['resultat']) > 0) {
115
				$nt_ou_nn_tab = array_keys((array)$val['resultat']);
115
				$nt_ou_nn_tab = array_keys((array)$val['resultat']);
116
				//print_r($nt_ou_nn_tab);exit;
116
				//print_r($nt_ou_nn_tab);exit;
117
				foreach($nt_ou_nn_tab as &$nnt) {
117
				foreach($nt_ou_nn_tab as &$nnt) {
118
					$nnt = $this->getBdd()->proteger($nnt);
118
					$nnt = $this->getBdd()->proteger($nnt);