| 1 | <?php |
||
| 17 | class Transliterator extends Module |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | */ |
||
| 23 | public function __construct() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Implements hook "language.translit" |
||
| 30 | * @param string $string |
||
| 31 | * @param string $language |
||
| 32 | * @param string|null $translit |
||
| 33 | */ |
||
| 34 | public function hookLanguageTranslit($string, $language, &$translit) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Transliterate a string |
||
| 41 | * @param string $string |
||
| 42 | * @param string|null $language |
||
| 43 | */ |
||
| 44 | public function transliterate($string, $language = null) |
||
| 54 | |||
| 55 | } |
||
| 56 |