MediaWiki
1.33.0
|
Kazakh (Қазақша) converter routines. More...
Public Member Functions | |
__construct (Language $langobj, $maincode, $variants=[], $variantfallbacks=[], $flags=[]) | |
convertCategoryKey ( $key) | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: More... | |
loadDefaultTables () | |
loadRegs () | |
postLoadTables () | |
regsConverter ( $text, $toVariant) | |
translate ( $text, $toVariant) | |
It translates text into variant. More... | |
Public Attributes | |
$mCyLa2Arab | |
$mLatn2Cyrl | |
Protected Attributes | |
$mCyrl2Latn | |
Kazakh (Қазақша) converter routines.
Definition at line 37 of file LanguageKk.php.
KkConverter::__construct | ( | Language | $langobj, |
$maincode, | |||
$variants = [] , |
|||
$variantfallbacks = [] , |
|||
$flags = [] |
|||
) |
Language | $langobj | |
string | $maincode | |
array | $variants | |
array | $variantfallbacks | |
array | $flags |
Definition at line 47 of file LanguageKk.php.
References loadRegs().
KkConverter::convertCategoryKey | ( | $key | ) |
KkConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
string | &$link | |
Title | &$nt | |
bool | $ignoreOtherCond |
Definition at line 229 of file LanguageKk.php.
References $link, NS_USER, and NS_USER_TALK.
KkConverter::loadDefaultTables | ( | ) |
Definition at line 61 of file LanguageKk.php.
KkConverter::loadRegs | ( | ) |
Definition at line 89 of file LanguageKk.php.
References KK_C_LC, KK_C_UC, KK_L_LC, and KK_L_UC.
Referenced by __construct().
KkConverter::postLoadTables | ( | ) |
Definition at line 83 of file LanguageKk.php.
KkConverter::regsConverter | ( | $text, | |
$toVariant | |||
) |
string | $text | |
string | $toVariant |
Definition at line 299 of file LanguageKk.php.
References $matches, $ret, as, H_HAMZA, KK_C_LC, and KK_C_UC.
Referenced by translate().
KkConverter::translate | ( | $text, | |
$toVariant | |||
) |
It translates text into variant.
string | $text | |
string | $toVariant |
Definition at line 253 of file LanguageKk.php.
References $matches, $ret, as, KK_C_LC, KK_C_UC, KK_L_LC, KK_L_UC, regsConverter(), and Makefile\translate().
KkConverter::$mCyLa2Arab |
Definition at line 38 of file LanguageKk.php.
|
protected |
Definition at line 38 of file LanguageKk.php.
KkConverter::$mLatn2Cyrl |
Definition at line 38 of file LanguageKk.php.