StubCollator deprecated
class StubCollator extends Collator
deprecated
Alias of {@link \Symfony\Component\Intl\Collator\Collator}.
Constants
FRENCH_COLLATION |
|
ALTERNATE_HANDLING |
|
CASE_FIRST |
|
CASE_LEVEL |
|
NORMALIZATION_MODE |
|
STRENGTH |
|
HIRAGANA_QUATERNARY_MODE |
|
NUMERIC_COLLATION |
|
DEFAULT_VALUE |
|
PRIMARY |
|
SECONDARY |
|
TERTIARY |
|
DEFAULT_STRENGTH |
|
QUATERNARY |
|
IDENTICAL |
|
OFF |
|
ON |
|
SHIFTED |
|
NON_IGNORABLE |
|
LOWER_FIRST |
|
UPPER_FIRST |
|
SORT_REGULAR |
|
SORT_NUMERIC |
|
SORT_STRING |
|
Methods
Sort array maintaining index association.
Not supported. Compare two Unicode strings.
Not supported. Get a value of an integer collator attribute.
Returns collator's last error code. Always returns the UZEROERROR class constant value.
Returns collator's last error message. Always returns the UZEROERROR_MESSAGE class constant value.
Not supported. Sort array using specified collator and sort keys.
Details
in Collator at line line 79
__construct(string $locale)
Constructor.
in Collator at line line 111
bool
asort(array $array, int $sortFlag = self::SORT_REGULAR)
Sort array maintaining index association.
in Collator at line line 139
bool|int
compare(string $str1, string $str2)
Not supported. Compare two Unicode strings.
in Collator at line line 155
bool|int
getAttribute(int $attr)
Not supported. Get a value of an integer collator attribute.
in Collator at line line 165
int
getErrorCode()
Returns collator's last error code. Always returns the UZEROERROR class constant value.
in Collator at line line 175
string
getErrorMessage()
Returns collator's last error message. Always returns the UZEROERROR_MESSAGE class constant value.
in Collator at line line 188
string
getLocale(int $type = Locale::ACTUAL_LOCALE)
Returns the collator's locale.
in Collator at line line 204
string
getSortKey(string $string)
Not supported. Get sorting key for a string.
in Collator at line line 218
bool|int
getStrength()
Not supported. Get current collator's strength.
in Collator at line line 235
bool
setAttribute(int $attr, int $val)
Not supported. Set a collator's attribute.
in Collator at line line 257
bool
setStrength(int $strength)
Not supported. Set the collator's strength.
in Collator at line line 273
bool
sortWithSortKeys(array $arr)
Not supported. Sort array using specified collator and sort keys.
in Collator at line line 293
bool
sort(array $arr, int $sortFlag = self::SORT_REGULAR)
Not supported. Sort array using specified collator.