Manual:Collation.php
Appearance
| MediaWiki file: Collation.php | |
|---|---|
| Location: | includes/collation/ (includes/Collation/ in 1.46 or later) |
| Source code: | master • 1.45.1 • 1.44.3 • 1.39.17 |
| Classes: | Collation |
Details
[edit]Collation.php contains an abstract class for performing database row sorting.
Public methods
[edit]Abstract
[edit]- getSortKey() - Convert string to key that can be used for sorting.
- getFirstLetter()
Deprecated
[edit]- singleton() - See MediaWikiServices::getInstance()->getCollationFactory()->getCategoryCollation() instead
- factory() - See MediaWikiServices::getInstance()->getCollationFactory()->makeCollation() instead
Extended by
[edit]- Manual:IcuCollation.php
- Manual:RemoteIcuCollation.php
- Manual:IdentityCollation.php
- Manual:UppercaseCollation.php
See also
[edit]- Manual:$wgCategoryCollation - Controls what type of collation is used for categories.
- Manual:CollationFactory.php