MediaWiki
1.30.2
|
Kazakh (Қазақша) converter routines. More...
Public Member Functions | |
__construct ( $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 | ( | $langobj, | |
$maincode, | |||
$variants = [] , |
|||
$variantfallbacks = [] , |
|||
$flags = [] |
|||
) |
Language | $langobj | |
string | $maincode | |
array | $variants | |
array | $variantfallbacks | |
array | $flags |
Definition at line 47 of file LanguageKk.php.
References $flags, and loadRegs().
KkConverter::convertCategoryKey | ( | $key | ) |
KkConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
string | &$link | |
Title | &$nt | |
bool | $ignoreOtherCond |
Definition at line 228 of file LanguageKk.php.
References $link, NS_USER, and NS_USER_TALK.
KkConverter::loadDefaultTables | ( | ) |
Definition at line 60 of file LanguageKk.php.
KkConverter::loadRegs | ( | ) |
Definition at line 88 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 82 of file LanguageKk.php.
KkConverter::regsConverter | ( | $text, | |
$toVariant | |||
) |
string | $text | |
string | $toVariant |
Definition at line 298 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 252 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.