/PHP-5.6/ext/intl/doc/ |
H A D | collator_api.php | 270 * @param Collator $coll Collator object. 316 * @param Collator $coll Collator object. 326 * @param Collator $coll Collator object. 342 * @param Collator $coll Collator object. 352 * @param Collator $coll Collator object. 356 function collator_get_strength( $coll ) {} argument 361 * @param Collator $coll Collator object. 371 * @param Collator $coll Collator object. 382 * @param Collator $coll Collator object. 387 function collator_get_error_code( $coll ) {} argument [all …]
|
/PHP-5.6/ext/intl/tests/ |
H A D | collation_customization.phpt | 13 function cmp_array( &$coll, $a ) 23 $eqrc = ut_coll_compare( $coll, $prev, $i ); 35 function check_alternate_handling( &$coll ) 39 ut_coll_set_strength( $coll, Collator::TERTIARY ); 40 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::NON_IGNORABLE ); 42 $res .= cmp_array( $coll, array( 'di Silva', 'Di Silva', 'diSilva', 'U.S.A.', 'USA' ) ); 44 ut_coll_set_attribute( $coll, Collator::ALTERNATE_HANDLING, Collator::SHIFTED ); 46 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) ); 48 ut_coll_set_strength( $coll, Collator::QUATERNARY ); 58 $coll = ut_coll_create( 'en_US' ); [all …]
|
H A D | collator_get_set_attribute.phpt | 16 function check_val( $coll ) 18 $val = ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE ); 25 $coll = ut_coll_create( 'en_US' ); 27 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::OFF ); 28 $res .= check_val( $coll ); 30 ut_coll_set_attribute( $coll, Collator::NORMALIZATION_MODE, Collator::ON ); 31 $res .= check_val( $coll );
|
H A D | collator_get_set_strength.phpt | 16 function check_set_strength( $coll, $val ) 18 ut_coll_set_strength( $coll, $val ); 19 $new_val = ut_coll_get_strength( $coll ); 26 $coll = ut_coll_create( 'en_US' ); 28 $res .= check_set_strength( $coll, Collator::PRIMARY ); 29 $res .= check_set_strength( $coll, Collator::SECONDARY ); 30 $res .= check_set_strength( $coll, Collator::TERTIARY );
|
H A D | ut_common.inc | 52 …return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str… 56 …return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_f… 64 return $GLOBALS['oo-mode'] ? $coll->getSortKey( $str ) : collator_get_sort_key( $coll, $str ); 72 return $GLOBALS['oo-mode'] ? $coll->getLocale( $type ) : collator_get_locale( $coll, $type ); 84 …return $GLOBALS['oo-mode'] ? $coll->getAttribute( $attr ) : collator_get_attribute( $coll, $attr ); 88 return $GLOBALS['oo-mode'] ? $coll->getStrength() : collator_get_strength( $coll ); 100 return $GLOBALS['oo-mode'] ? $coll->getVariableTop() : collator_get_variable_top( $coll ); 112 return $GLOBALS['oo-mode'] ? $coll->getErrorCode() : collator_get_error_code( $coll ); 116 return $GLOBALS['oo-mode'] ? $coll->getErrorMessage() : collator_get_error_message( $coll ); 122 function ut_coll_set_default( $coll ) [all …]
|
H A D | collator_get_error_message.phpt | 16 $coll = ut_coll_create( 'ru_RU' ); 19 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE ); 20 $status = ut_coll_get_error_message( $coll ); 24 ut_coll_get_attribute( $coll, 12345 ); 25 $status = ut_coll_get_error_message( $coll );
|
H A D | collator_get_error_code.phpt | 24 $coll = ut_coll_create( 'ru_RU' ); 27 ut_coll_get_attribute( $coll, Collator::NORMALIZATION_MODE ); 28 $status = ut_coll_get_error_code( $coll ); 32 ut_coll_get_attribute( $coll, 12345 ); 33 $status = ut_coll_get_error_code( $coll );
|
H A D | collator_create.phpt | 31 $coll = ut_coll_create( $locale ); 32 if( !is_object($coll) ) 40 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE ); 41 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
|
H A D | collator_create4.phpt | 31 $coll = ut_coll_create( $locale ); 32 if( !is_object($coll) ) 40 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE ); 41 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
|
H A D | bug62070_2.phpt | 10 $coll = collator_create('en_US'); 11 $res = collator_get_sort_key($coll, $s1);
|
H A D | collator_create2.phpt | 32 $coll = ut_coll_create( $locale ); 33 if( !is_object($coll) ) 41 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE ); 42 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
|
H A D | collator_create3.phpt | 32 $coll = ut_coll_create( $locale ); 33 if( !is_object($coll) ) 41 $vloc = ut_coll_get_locale( $coll, Locale::VALID_LOCALE ); 42 $aloc = ut_coll_get_locale( $coll, Locale::ACTUAL_LOCALE );
|
H A D | bug62070.phpt | 11 $coll = collator_create('en_US'); 12 $res = collator_get_sort_key($coll, $s1);
|
H A D | regression_sort_and_cow.phpt | 20 $coll = ut_coll_create( $locale ); 27 ut_coll_sort( $coll, $test_array ); 28 ut_coll_sort( $coll, $copy1 );
|
H A D | regression_sortwsk_and_cow.phpt | 21 $coll = ut_coll_create( $locale ); 28 ut_coll_sort_with_sort_keys( $coll, $test_array ); 29 ut_coll_sort_with_sort_keys( $coll, $copy1 );
|
H A D | regression_sort_eq.phpt | 13 $coll = ut_coll_create( $locale ); 16 ut_coll_sort( $coll, $test_array );
|
H A D | regression_sortwsk_eq.phpt | 13 $coll = ut_coll_create( $locale ); 16 ut_coll_sort_with_sort_keys( $coll, $test_array );
|
H A D | collator_get_locale.phpt | 27 $coll = ut_coll_create( 'en_US' ); 32 $rc = ut_coll_get_locale( $coll, $locale );
|
H A D | collator_get_locale2.phpt | 25 $coll = ut_coll_create( 'en_US' ); 30 $rc = ut_coll_get_locale( $coll, $locale );
|
H A D | collator_get_sort_key_variant6.phpt | 16 $coll = ut_coll_create( $locale ); 19 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key.phpt | 18 $coll = ut_coll_create( $locale ); 21 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant2.phpt | 17 $coll = ut_coll_create( $locale ); 20 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant3.phpt | 17 $coll = ut_coll_create( $locale ); 20 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant4.phpt | 17 $coll = ut_coll_create( $locale ); 20 $res_val = ut_coll_get_sort_key( $coll, $value );
|
H A D | collator_get_sort_key_variant5.phpt | 17 $coll = ut_coll_create( $locale ); 20 $res_val = ut_coll_get_sort_key( $coll, $value );
|