MediaWiki  1.34.0
CollationCkb.php
Go to the documentation of this file.
1 <?php
28 class CollationCkb extends IcuCollation {
29  public function __construct() {
30  // This will set $locale and collators, which affect the actual sorting order
31  parent::__construct( 'fa' );
32  // Override the 'fa' language set by parent constructor, which affects #getFirstLetterData()
33  $this->digitTransformLanguage = Language::factory( 'ckb' );
34  }
35 }
CollationCkb
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
Definition: CollationCkb.php:28
CollationCkb\__construct
__construct()
Definition: CollationCkb.php:29
Language\factory
static factory( $code)
Get a cached or new language object for a given language code.
Definition: Language.php:217
IcuCollation
Definition: IcuCollation.php:24