1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
<?php
/** @generate-class-entries */
/**
* @var int
* @cvalue ULOC_ACTUAL_LOCALE
*/
const ULOC_ACTUAL_LOCALE = UNKNOWN;
/**
* @var int
* @cvalue ULOC_VALID_LOCALE
*/
const ULOC_VALID_LOCALE = UNKNOWN;
/** @not-serializable */
class Collator
{
/** @cvalue UCOL_DEFAULT */
public const int DEFAULT_VALUE = UNKNOWN;
/** @cvalue UCOL_PRIMARY */
public const int PRIMARY = UNKNOWN;
/** @cvalue UCOL_SECONDARY */
public const int SECONDARY = UNKNOWN;
/** @cvalue UCOL_TERTIARY */
public const int TERTIARY = UNKNOWN;
/** @cvalue UCOL_DEFAULT_STRENGTH */
public const int DEFAULT_STRENGTH = UNKNOWN;
/** @cvalue UCOL_QUATERNARY */
public const int QUATERNARY = UNKNOWN;
/** @cvalue UCOL_IDENTICAL */
public const int IDENTICAL = UNKNOWN;
/** @cvalue UCOL_OFF */
public const int OFF = UNKNOWN;
/** @cvalue UCOL_ON */
public const int ON = UNKNOWN;
/** @cvalue UCOL_SHIFTED */
public const int SHIFTED = UNKNOWN;
/** @cvalue UCOL_NON_IGNORABLE */
public const int NON_IGNORABLE = UNKNOWN;
/** @cvalue UCOL_LOWER_FIRST */
public const int LOWER_FIRST = UNKNOWN;
/** @cvalue UCOL_UPPER_FIRST */
public const int UPPER_FIRST = UNKNOWN;
/* UColAttribute constants */
/** @cvalue UCOL_FRENCH_COLLATION */
public const int FRENCH_COLLATION = UNKNOWN;
/** @cvalue UCOL_ALTERNATE_HANDLING */
public const int ALTERNATE_HANDLING = UNKNOWN;
/** @cvalue UCOL_CASE_FIRST */
public const int CASE_FIRST = UNKNOWN;
/** @cvalue UCOL_CASE_LEVEL */
public const int CASE_LEVEL = UNKNOWN;
/** @cvalue UCOL_NORMALIZATION_MODE */
public const int NORMALIZATION_MODE = UNKNOWN;
/** @cvalue UCOL_STRENGTH */
public const int STRENGTH = UNKNOWN;
/** @cvalue UCOL_HIRAGANA_QUATERNARY_MODE */
public const int HIRAGANA_QUATERNARY_MODE = UNKNOWN;
/** @cvalue UCOL_NUMERIC_COLLATION */
public const int NUMERIC_COLLATION = UNKNOWN;
/* sort flags */
/** @cvalue COLLATOR_SORT_REGULAR */
public const int SORT_REGULAR = UNKNOWN;
/** @cvalue COLLATOR_SORT_STRING */
public const int SORT_STRING = UNKNOWN;
/** @cvalue COLLATOR_SORT_NUMERIC */
public const int SORT_NUMERIC = UNKNOWN;
public function __construct(string $locale) {}
/**
* @tentative-return-type
* @alias collator_create
*/
public static function create(string $locale): ?Collator {}
/**
* @tentative-return-type
* @alias collator_compare
*/
public function compare(string $string1, string $string2): int|false {}
/**
* @tentative-return-type
* @alias collator_sort
*/
public function sort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
/**
* @tentative-return-type
* @alias collator_sort_with_sort_keys
*/
public function sortWithSortKeys(array &$array): bool {}
/**
* @tentative-return-type
* @alias collator_asort
*/
public function asort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
/**
* @tentative-return-type
* @alias collator_get_attribute
*/
public function getAttribute(int $attribute): int|false {}
/**
* @tentative-return-type
* @alias collator_set_attribute
*/
public function setAttribute(int $attribute, int $value): bool {}
/**
* @tentative-return-type
* @alias collator_get_strength
*/
public function getStrength(): int {}
/**
* @tentative-return-type
* @alias collator_set_strength
*/
public function setStrength(int $strength): true {}
/**
* @tentative-return-type
* @alias collator_get_locale
*/
public function getLocale(int $type): string|false {}
/**
* @tentative-return-type
* @alias collator_get_error_code
*/
public function getErrorCode(): int|false {}
/**
* @tentative-return-type
* @alias collator_get_error_message
*/
public function getErrorMessage(): string|false {}
/**
* @tentative-return-type
* @alias collator_get_sort_key
*/
public function getSortKey(string $string): string|false {}
}
|