Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 740 Rev 963
Line 360... Line 360...
360
	public function formaterEnJsonMax($resultat) {
360
	public function formaterEnJsonMax($resultat) {
361
		//print_r($resultat);
361
		//print_r($resultat);
362
		$this->recupererTableSignification('correspondance_champs,champs_api,champs_comp');
362
		$this->recupererTableSignification('correspondance_champs,champs_api,champs_comp');
363
		$masque = $this->recupererMasquePrincipal();
363
		$masque = $this->recupererMasquePrincipal();
364
		if (isset($masque)) $resultat = $this->trierRechercheFloue($this->parametres[$masque[0]], $resultat, $masque[1]);
364
		if (isset($masque)) $resultat = $this->trierRechercheFloue($this->parametres[$masque[0]], $resultat, $masque[1]);
365
		if (isset($this->masque)) $this->table_retour['masque'] = implode('&', $this->masque); 
-
 
366
		$this->afficherEnteteResultat('/'.$this->service);
365
        $table_retour_json['entete'] = $this->afficherEnteteResultat('/'.$this->service);
367
		$table_retour_json['entete'] = $this->table_retour;
-
 
368
		$this->table_retour = array();
-
 
369
		//on remplit la table $table_retour_json['resultat']
366
		//on remplit la table $table_retour_json['resultat']
370
		$tab_tax_inf = $this->recupererListeTaxonInf($resultat);
367
		$tab_tax_inf = $this->recupererListeTaxonInf($resultat);
371
		foreach ($resultat as $tab) {
368
		foreach ($resultat as $tab) {
372
			$num = $tab['num_nom'];
369
			$num = $tab['num_nom'];
373
			if (isset($this->parametres['masque.nt'])) $this->afficherDonnees('num_taxonomique', $tab['num_taxonomique']);
370
			if (isset($this->parametres['masque.nt'])) $this->afficherDonnees('num_taxonomique', $tab['num_taxonomique']);