Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 907 Rev 950
Line 225... Line 225...
225
	
225
	
226
	public function retournerResultatFormate($resultat) {
226
	public function retournerResultatFormate($resultat) {
227
		$resultat_json = $resultat[0];
227
		$resultat_json = $resultat[0];
228
		if ($this->retour_format == 'max'){
228
		if ($this->retour_format == 'max'){
229
			if ($this->nb_ressources == 1) {		
229
			if ($this->nb_ressources == 1) {		
230
				if ($this->parametres['categorie'] == 'ecologie') {
230
				if (@$this->parametres['categorie'] == 'ecologie') {
231
					$this->formaterResultatsChampsEcologie($resultat_json);
231
					$this->formaterResultatsChampsEcologie($resultat_json);
232
				} elseif ($this->parametres['categorie'] == 'description') {
232
				} elseif (@$this->parametres['categorie'] == 'description') {
233
					$this->formaterResultatsChampsDescription($resultat_json);
233
					$this->formaterResultatsChampsDescription($resultat_json);
234
				}else {
234
				}else {
235
					$this->formaterResultatsTousChamps($resultat_json);
235
					$this->formaterResultatsTousChamps($resultat_json);
236
				}
236
				}