summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2006-08-01 13:28:28 +0000
committerMichael Wallner <mike@php.net>2006-08-01 13:28:28 +0000
commit5f7750c6e62676a71c4df360c62f56b7fb3f11f2 (patch)
tree1468e2515dc4995729506ca6a19aa08fdf2829f4 /ext/date/php_date.h
parentad3ad9bb7971a376e953dabbdeb0ed928fb47633 (diff)
downloadphp-git-5f7750c6e62676a71c4df360c62f56b7fb3f11f2.tar.gz
MFH:
- OO fixes: . no is_ref for objects in PHP5+ . initialize objects when created with the `new` operator . check for proper initialization in child classes - fix typo: transistion -> transition - add test
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index 3f9fcba6bc..757059b9d7 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -47,6 +47,7 @@ PHP_FUNCTION(localtime);
PHP_FUNCTION(getdate);
/* Advanced Interface */
+PHP_METHOD(DateTime, __construct);
PHP_FUNCTION(date_create);
PHP_FUNCTION(date_parse);
PHP_FUNCTION(date_format);
@@ -59,11 +60,12 @@ PHP_FUNCTION(date_time_set);
PHP_FUNCTION(date_date_set);
PHP_FUNCTION(date_isodate_set);
+PHP_METHOD(DateTimeZone, __construct);
PHP_FUNCTION(timezone_open);
PHP_FUNCTION(timezone_name_get);
PHP_FUNCTION(timezone_name_from_abbr);
PHP_FUNCTION(timezone_offset_get);
-PHP_FUNCTION(timezone_transistions_get);
+PHP_FUNCTION(timezone_transitions_get);
PHP_FUNCTION(timezone_identifiers_list);
PHP_FUNCTION(timezone_abbreviations_list);