MediaWiki master
|
Balinese specific code. More...
Inherits LanguageConverterIcu.
Public Member Functions | |
getLanguageVariants () | |
getMainCode () | |
getVariantNames () | |
getVariantsFallbacks () | |
guessVariant ( $text, $variant) | |
Guess if a text is written in Balinese or Latin. | |
Public Member Functions inherited from LanguageConverterIcu | |
icuTranslate ( $text, $variant) | |
Translate a string to a variant using ICU transliterator. | |
translate ( $text, $variant) | |
Public Member Functions inherited from LanguageConverterSpecific | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: | |
Protected Member Functions | |
getIcuRules () | |
Get the array mapping variants to ICU transliteration rules. | |
getTransliteratorAliases () | |
Get the array mapping variant aliases to the main variant. | |
Protected Member Functions inherited from LanguageConverterIcu | |
getTransliterators () | |
Get the array mapping variants to ICU transliterators. | |
loadDefaultTables () | |
Creates empty tables. | |
Additional Inherited Members | |
Protected Attributes inherited from LanguageConverterIcu | |
Transliterator[] | $mTransliterators |
Balinese specific code.
Definition at line 26 of file BanConverter.php.
|
protected |
Get the array mapping variants to ICU transliteration rules.
Subclasses must implement this.
Reimplemented from LanguageConverterIcu.
Definition at line 56 of file BanConverter.php.
BanConverter::getLanguageVariants | ( | ) |
Definition at line 32 of file BanConverter.php.
BanConverter::getMainCode | ( | ) |
Definition at line 28 of file BanConverter.php.
|
protected |
Get the array mapping variant aliases to the main variant.
Reimplemented from LanguageConverterIcu.
Definition at line 1016 of file BanConverter.php.
BanConverter::getVariantNames | ( | ) |
Definition at line 45 of file BanConverter.php.
BanConverter::getVariantsFallbacks | ( | ) |
Definition at line 36 of file BanConverter.php.
BanConverter::guessVariant | ( | $text, | |
$variant ) |
Guess if a text is written in Balinese or Latin.
Overrides LanguageConverter::guessVariant()
string | $text | The text to be checked |
string | $variant | Language code of the variant to be checked for |
Definition at line 1031 of file BanConverter.php.