Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 734 Rev 784
Line 381... Line 381...
381
		}
381
		}
382
		foreach ($resultat as &$tab) {			
382
		foreach ($resultat as &$tab) {			
383
			$nnv = $tab['num_nom_vernaculaire'];
383
			$nnv = $tab['num_nom_vernaculaire'];
384
			$resultat_json[$nnv]['id'] = $tab['id'];
384
			$resultat_json[$nnv]['id'] = $tab['id'];
385
			$resultat_json[$nnv]['nom_vernaculaire'] = $tab['nom_vernaculaire'];
385
			$resultat_json[$nnv]['nom_vernaculaire'] = $tab['nom_vernaculaire'];
386
			$resultat_json[$nnv]['code_langue'] = $tab['code_langue'];
386
			$resultat_json[$nnv]['langue.code'] = $tab['code_langue'];
387
			$resultat_json[$nnv]['taxon.code'] = 'bdtfx.nt:'.$tab['num_taxon'];
387
			$resultat_json[$nnv]['taxon.code'] = 'bdtfx.nt:'.$tab['num_taxon'];
388
			if ($this->retour_format == 'max') {
388
			if ($this->retour_format == 'max') {
389
				$this->taxons[] = $tab['num_taxon']; // utilisé pour chercher les noms latins plus bas
389
				$this->taxons[] = $tab['num_taxon']; // utilisé pour chercher les noms latins plus bas
390
				if($this->champs_supp) {
390
				if($this->champs_supp) {
391
					//$resultat_json[$nnv] = $this->ajouterChampsOntologieLigneResultat($tab);
391
					//$resultat_json[$nnv] = $this->ajouterChampsOntologieLigneResultat($tab);