summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_class.cpp
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-06-01 17:17:35 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-06-03 23:39:34 +0200
commit72beff0d414ef45c06f118f7f60d5cd194c6a013 (patch)
tree04545ca96342c7708313fe8074f4282048799ac8 /ext/intl/timezone/timezone_class.cpp
parentf3802db7a087d056ae1a0804ea0f7b503dd9c9a3 (diff)
downloadphp-git-72beff0d414ef45c06f118f7f60d5cd194c6a013.tar.gz
Added private constructor to IntlTimeZone.
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r--ext/intl/timezone/timezone_class.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index 850da4a748..c976eb143a 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -524,6 +524,7 @@ ZEND_END_ARG_INFO()
* Every 'IntlTimeZone' class method has an entry in this table
*/
static zend_function_entry TimeZone_class_functions[] = {
+ PHP_ME(IntlTimeZone, __construct, ainfo_tz_void, ZEND_ACC_PRIVATE)
PHP_ME_MAPPING(createTimeZone, intltz_create_time_zone, ainfo_tz_idarg, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME_MAPPING(fromDateTimeZone, intltz_from_date_time_zone, ainfo_tz_idarg, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME_MAPPING(createDefault, intltz_create_default, ainfo_tz_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)