Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 313 Rev 364
Line 170... Line 170...
170
		}
170
		}
Line 171... Line 171...
171
		
171
		
172
		return $resultat;
172
		return $resultat;
Line -... Line 173...
-
 
173
	}
-
 
174
	
-
 
175
	private function callBackReplace($m) {
-
 
176
		return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES");
173
	}
177
	}
174
	
178
	
175
	private function formaterChaineEncodeeBddPhotoflora($chaine) {
-
 
176
		return $chaine = preg_replace_callback("/(&#[0-9]+;)/", function($m) {
179
	private function formaterChaineEncodeeBddPhotoflora($chaine) {
177
			return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES");
180
		return $chaine = preg_replace_callback("/(&#[0-9]+;)/", array($this, 'callBackReplace')
Line 178... Line 181...
178
		}, $chaine);
181
		, $chaine);
179
	}
182
	}
180
	
183