Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 207 Rev 821
Line 20... Line 20...
20
	}
20
	}
Line 21... Line 21...
21
 
21
 
22
	public function setNbreMaxSurlignageParMot($nbre) {
22
	public function setNbreMaxSurlignageParMot($nbre) {
23
		$this->nbreSurlignageMaxParMot = $nbre;
23
		$this->nbreSurlignageMaxParMot = $nbre;
-
 
24
	}
-
 
25
	
-
 
26
	function supprimerAccents($chaine){
-
 
27
		return strtr($chaine,array('à' => 'a','á' => 'a','â' => 'a','ã' => 'a','ä' => 'a',
-
 
28
											'ç' => 'c',
-
 
29
											'è' => 'e','é' => 'e','ê' => 'e','ë' => 'e',
-
 
30
											'ì' => 'i','í' => 'i','î' => 'i','ï' => 'i',
-
 
31
											'ñ' => 'n',
-
 
32
											'ò' => 'o', 'ó' => 'o' , 'ô' => 'o', 'õ' => 'o', 'ö' => 'o', 
-
 
33
											'ù' => 'u', 'ú' => 'u', 'û' => 'u', 'ü' => 'u', 
-
 
34
											'ý' => 'y', 'ÿ' => 'y'));
Line 24... Line 35...
24
	}
35
	}
25
 
36
 
26
	public function surlignerMots($mots) {
37
	public function surlignerMots($mots) {
27
		$this->verifierTableauDeMots($mots);
38
		$this->verifierTableauDeMots($mots);