1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage Language
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * Wrapper class for JLanguageTransliterate
14 *
15 * @package Joomla.Platform
16 * @subpackage Language
17 * @since 3.4
18 */
19 class JLanguageWrapperTransliterate
20 {
21 /**
22 * Helper wrapper method for utf8_latin_to_ascii
23 *
24 * @param string $string String to transliterate.
25 * @param integer $case Optionally specify upper or lower case. Default to null.
26 *
27 * @return string Transliterated string.
28 *
29 * @see JLanguageTransliterate::utf8_latin_to_ascii()
30 * @since 3.4
31 */
32 public function utf8_latin_to_ascii($string, $case = 0)
33 {
34 return JLanguageTransliterate::utf8_latin_to_ascii($string, $case);
35 }
36 }
37