diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-09 23:59:26 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-10 00:05:00 +0200 |
commit | afed66bb9efc0a8838f2061c4a3aa0befec0f98c (patch) | |
tree | 4eb6c735fb33f68c4ff97711ac56cfd2cf92c7dc /ext/intl/breakiterator/breakiterator_methods.cpp | |
parent | 4ec75539dba8cefef16e56f02c62755a9aa9c60b (diff) | |
download | php-git-afed66bb9efc0a8838f2061c4a3aa0befec0f98c.tar.gz |
BreakIter: Removed getAvailableLocales/getHashCode
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.cpp')
-rw-r--r-- | ext/intl/breakiterator/breakiterator_methods.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/intl/breakiterator/breakiterator_methods.cpp b/ext/intl/breakiterator/breakiterator_methods.cpp index 4aca6ef23f..28551051c3 100644 --- a/ext/intl/breakiterator/breakiterator_methods.cpp +++ b/ext/intl/breakiterator/breakiterator_methods.cpp @@ -107,27 +107,6 @@ U_CFUNC PHP_FUNCTION(breakiter_create_title_instance) INTERNAL_FUNCTION_PARAM_PASSTHRU); } -U_CFUNC PHP_FUNCTION(breakiter_get_available_locales) -{ - intl_error_reset(NULL TSRMLS_CC); - - if (zend_parse_parameters_none() == FAILURE) { - intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, - "breakiter_get_available_locales: bad arguments", 0 TSRMLS_CC); - RETURN_FALSE; - } - - const Locale *locales; - int32_t count; - - locales = BreakIterator::getAvailableLocales(count); - array_init_size(return_value, (uint)count); - for (int i = 0; i < count; i++) { - Locale locale = locales[i]; - add_next_index_string(return_value, locale.getName(), 1); - } -} - U_CFUNC PHP_FUNCTION(breakiter_get_text) { BREAKITER_METHOD_INIT_VARS; |