Subversion Repositories Applications.annuaire

Rev

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

Rev 329 Rev 334
Line 244... Line 244...
244
		$date_mysql_courante = self::genererDateCouranteFormatMySql();
244
		$date_mysql_courante = self::genererDateCouranteFormatMySql();
245
		return self::formaterDateMysqlVersDateAnnuaire($date_mysql_courante);
245
		return self::formaterDateMysqlVersDateAnnuaire($date_mysql_courante);
246
	}
246
	}
Line 247... Line 247...
247
	
247
	
248
	public static function formaterMotPremiereLettreChaqueMotEnMajuscule($chaine) {
-
 
249
		
248
	public static function formaterMotPremiereLettreChaqueMotEnMajuscule($chaine) {
Line 250... Line 249...
250
		$encodage = Config::get('appli_encodage');
249
		$encodage = Config::get('appli_encodage');
251
		
250
		
252
		return str_replace(' - ', '-', 
251
		return str_replace(' - ', '-', 
Line 260... Line 259...
260
					)
259
					)
261
				);
260
				);
262
	}
261
	}
Line 263... Line 262...
263
	
262
	
264
	public static function formaterMotEnMajuscule($chaine) {
263
	public static function formaterMotEnMajuscule($chaine) {
265
		return mb_strtoupper($chaine,Config::get('appli_encodage'));
264
		return mb_convert_case($chaine, MB_CASE_UPPER, Config::get('appli_encodage'));
Line 266... Line 265...
266
	}
265
	}
Line 267... Line 266...
267
	
266