Manual:Collation.php
Appearance
MediaWiki file: Collation.php | |
---|---|
Location: | includes/collation/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
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