Méthode | Description | |
---|---|---|
__construct ( $system = '' ) | Romaji's constructor | |
__toString ( ) | Implements __toString(). |
Méthode | Description | |
---|---|---|
postTransliterate ( $str ) | Override postTransliterate(). | |
preTransliterate ( $str ) | Override preTransliterate(). | |
transliterateChoonpu ( string $str, array $parameters ) : string | Transliterate Chōonpu (http://en.wikipedia.org/wiki/Chōonpu) character into its equivalent in latin alphabet. | |
transliterateDefaultCharacters ( string $str, array $parameters ) : string | Use the specified mapping to transliterate the given string into romaji | |
transliterateLongVowels ( string $str, array $parameters ) : string | Transliterate long vowels as per the given mapping. | |
transliterateNBeforeLabialConsonants ( string $str ) : string | Transliterate character 'n' to 'm' before labial consonants. | |
transliterateParticles ( string $str, array $parameters ) : string | Transliterate particules as per the given mapping. | |
transliterateSokuon ( string $str, array $parameters ) : string | Transliterate Sokuon (http://en.wikipedia.org/wiki/Sokuon) character into its equivalent in latin alphabet. |
Méthode | Description | |
---|---|---|
escapeLatinCharacters ( $str ) | Escapes latin characters [a-z]. | |
espaceLatinCharactersCallback ( $matches ) | Private callback for escapeLatinCharacters(). | |
unescapeLatinCharacters ( $str ) | Unescapes latin characters [a-z]. |
protected postTransliterate ( $str ) |
protected preTransliterate ( $str ) |
protected transliterateNBeforeLabialConsonants ( string $str ) : string | ||
$str | string | String to be transliterated. |
Résultat | string | Transliterated string. |