GNU GPL v2+
- Since
- 3.0
- Author
- mwjames
◆ __construct()
SMW\MediaWiki\Collator::__construct |
( |
Collation |
$collation, |
|
|
|
$collationName = '' |
|
) |
| |
- Since
- 3.0
- Parameters
-
Collation | $collation | |
string | $collationName | |
◆ armor()
SMW\MediaWiki\Collator::armor |
( |
|
$text, |
|
|
|
$source = '' |
|
) |
| |
For any uca-* generated sortkey armor any invalid or unrecognized UTF-8 characters to prevent an invalid XML/UTF output.
Characters that cannot be expressed are replaced by ? which is surely inaccurate in comparison to the original uca-* sortkey but it allows to replicate a near surrogate string to a back-end that requires XML compliance (triple store).
- Since
- 3.0
- Parameters
-
- Returns
- string
◆ getFirstLetter()
SMW\MediaWiki\Collator::getFirstLetter |
( |
|
$text | ) |
|
- Since
- 3.0
- Parameters
-
- Returns
- string
◆ getSortKey()
SMW\MediaWiki\Collator::getSortKey |
( |
|
$text | ) |
|
- Since
- 3.0
- Parameters
-
- Returns
- string
◆ isIdentical()
SMW\MediaWiki\Collator::isIdentical |
( |
|
$old, |
|
|
|
$new |
|
) |
| |
- Since
- 3.0
- Parameters
-
- Returns
- boolean
◆ singleton()
static SMW\MediaWiki\Collator::singleton |
( |
|
$collationName = '' | ) |
|
|
static |
The documentation for this class was generated from the following file: