MediaWiki REL1_32
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 ()
 
- Public Member Functions inherited from IcuCollation
 __construct ( $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 getICUVersion ()
 Return the version of ICU library used by PHP's intl extension, or false when the extension is not installed of the version can't be determined.
 
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 ()
 
- Public Attributes inherited from IcuCollation
const FIRST_LETTER_VERSION = 3
 
const RECORD_LENGTH = 14
 
- 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 28 of file CollationCkb.php.

Constructor & Destructor Documentation

◆ __construct()

CollationCkb::__construct ( )

Definition at line 29 of file CollationCkb.php.


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