MediaWiki master
|
English specific converter routines. More...
Inherits LanguageConverter.
Public Member Functions | |
getLanguageVariants () | |
getMainCode () | |
getVariantsFallbacks () | |
translate ( $text, $toVariant) | |
Translates text into Pig Latin. | |
Protected Member Functions | |
loadDefaultTables () | |
English specific converter routines.
Definition at line 26 of file EnConverter.php.
EnConverter::getLanguageVariants | ( | ) |
Definition at line 32 of file EnConverter.php.
EnConverter::getMainCode | ( | ) |
Definition at line 28 of file EnConverter.php.
EnConverter::getVariantsFallbacks | ( | ) |
Definition at line 36 of file EnConverter.php.
|
protected |
Definition at line 40 of file EnConverter.php.
EnConverter::translate | ( | $text, | |
$toVariant ) |
Translates text into Pig Latin.
This allows developers to test the language variants functionality and user interface without having to switch wiki language away from default. This method also processes custom conversion rules to allow testing these parts of the language converter as well.
string | $text | |
string | $toVariant |
Definition at line 57 of file EnConverter.php.
References $matches.