wiki.techinc.nl/includes/collation/BashkirUppercaseCollation.php
Brian Wolff 73f5937047 Add collation for Bashkir (ba)
This is based on a numeric uppercase collation. Bashkir characters
will be remapped to the private use area for the purpose of sorting.

Bug: T162823
Change-Id: I65f1af0b57ff6ded7d464e39efd401f178a3519e
2017-05-10 04:17:46 +00:00

71 lines
1.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
* @since 1.30
*
* @file
*/
class BashkirUppercaseCollation extends CustomUppercaseCollation {
public function __construct() {
parent::__construct( [
'А',
'Б',
'В',
'Г',
'Ғ',
'Д',
'Ҙ',
'Е',
'Ё',
'Ж',
'З',
'И',
'Й',
'К',
'Ҡ',
'Л',
'М',
'Н',
'Ң',
'О',
'Ө',
'П',
'Р',
'С',
'Ҫ',
'Т',
'У',
'Ү',
'Ф',
'Х',
'Һ',
'Ц',
'Ч',
'Ш',
'Щ',
'Ъ',
'Ы',
'Ь',
'Э',
'Ә',
'Ю',
'Я',
], Language::factory( 'ba' ) );
}
}