MediaWiki REL1_37
CollationCkb Class Reference

Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU. More...

Inheritance diagram for CollationCkb:
Collaboration diagram for CollationCkb:

Public Member Functions

 __construct (LanguageFactory $languageFactory)
 
- Public Member Functions inherited from IcuCollation
 __construct (LanguageFactory $languageFactory, $locale)
 
 getFirstLetter ( $string)
 Given a string, return the logical "first letter" to be used for grouping on category pages and so on.
 
 getFirstLetterCount ()
 
 getFirstLetterData ()
 
 getLetterByIndex ( $index)
 
 getPrimarySortKey ( $string)
 
 getSortKey ( $string)
 Given a string, convert it to a (hopefully short) key that can be used for efficient sorting.
 
 getSortKeyByLetterIndex ( $index)
 

Additional Inherited Members

- Static Public Member Functions inherited from IcuCollation
static getUnicodeVersionForICU ()
 Return the version of Unicode appropriate for the version of ICU library currently in use, or false when it can't be determined.
 
static isCjk ( $codepoint)
 Test if a code point is a CJK (Chinese, Japanese, Korean) character.
 
- Static Public Member Functions inherited from Collation
static factory ( $collationName)
 
static singleton ()
 
- Protected Attributes inherited from IcuCollation
Language $digitTransformLanguage
 

Detailed Description

Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.

Uses the same collation rules as Persian / Farsi ('fa'), but different characters for digits.

Since
1.23

Definition at line 30 of file CollationCkb.php.

Constructor & Destructor Documentation

◆ __construct()

CollationCkb::__construct ( LanguageFactory  $languageFactory)
Parameters
LanguageFactory$languageFactory

Definition at line 34 of file CollationCkb.php.

References MediaWiki\Languages\LanguageFactory\getLanguage().


The documentation for this class was generated from the following file: