MediaWiki master
CollationCkb Class Reference

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

Inherits IcuCollation.

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.
 
 getSortKey ( $string)
 Given a string, convert it to a (hopefully short) key that can be used for efficient sorting.
 
- Public Member Functions inherited from Collation
 getSortKeys ( $strings)
 Get multiple sort keys.
 

Additional Inherited Members

- Static Public Member Functions inherited from IcuCollation
static isCjk ( $codepoint)
 Test if a code point is a CJK (Chinese, Japanese, Korean) character.
 
- 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: