1 /* This is a generated file, edit the .stub.php file instead. 2 * Stub hash: 425a285b704e175ccd0313fe1be85c8abaf820b7 */ 3 4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter___construct, 0, 0, 3) 5 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1) 6 ZEND_ARG_TYPE_INFO(0, dateType, IS_LONG, 0) 7 ZEND_ARG_TYPE_INFO(0, timeType, IS_LONG, 0) 8 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timezone, "null") 9 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, calendar, "null") 10 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 11 ZEND_END_ARG_INFO() 12 13 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_create, 0, 0, 3) 14 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1) 15 ZEND_ARG_TYPE_INFO(0, dateType, IS_LONG, 0) 16 ZEND_ARG_TYPE_INFO(0, timeType, IS_LONG, 0) 17 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timezone, "null") 18 ZEND_ARG_OBJ_TYPE_MASK(0, calendar, IntlCalendar, MAY_BE_LONG|MAY_BE_NULL, "null") 19 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 20 ZEND_END_ARG_INFO() 21 22 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_getDateType, 0, 0, 0) 23 ZEND_END_ARG_INFO() 24 25 #define arginfo_class_IntlDateFormatter_getTimeType arginfo_class_IntlDateFormatter_getDateType 26 27 #define arginfo_class_IntlDateFormatter_getCalendar arginfo_class_IntlDateFormatter_getDateType 28 29 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_setCalendar, 0, 0, 1) 30 ZEND_ARG_OBJ_TYPE_MASK(0, calendar, IntlCalendar, MAY_BE_LONG|MAY_BE_NULL, NULL) 31 ZEND_END_ARG_INFO() 32 33 #define arginfo_class_IntlDateFormatter_getTimeZoneId arginfo_class_IntlDateFormatter_getDateType 34 35 #define arginfo_class_IntlDateFormatter_getCalendarObject arginfo_class_IntlDateFormatter_getDateType 36 37 #define arginfo_class_IntlDateFormatter_getTimeZone arginfo_class_IntlDateFormatter_getDateType 38 39 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_setTimeZone, 0, 0, 1) 40 ZEND_ARG_INFO(0, timezone) 41 ZEND_END_ARG_INFO() 42 43 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_setPattern, 0, 0, 1) 44 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 45 ZEND_END_ARG_INFO() 46 47 #define arginfo_class_IntlDateFormatter_getPattern arginfo_class_IntlDateFormatter_getDateType 48 49 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_getLocale, 0, 0, 0) 50 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "ULOC_ACTUAL_LOCALE") 51 ZEND_END_ARG_INFO() 52 53 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_setLenient, 0, 0, 1) 54 ZEND_ARG_TYPE_INFO(0, lenient, _IS_BOOL, 0) 55 ZEND_END_ARG_INFO() 56 57 #define arginfo_class_IntlDateFormatter_isLenient arginfo_class_IntlDateFormatter_getDateType 58 59 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_format, 0, 0, 1) 60 ZEND_ARG_INFO(0, datetime) 61 ZEND_END_ARG_INFO() 62 63 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_formatObject, 0, 0, 1) 64 ZEND_ARG_INFO(0, datetime) 65 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, format, "null") 66 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null") 67 ZEND_END_ARG_INFO() 68 69 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter_parse, 0, 0, 1) 70 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0) 71 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null") 72 ZEND_END_ARG_INFO() 73 74 #define arginfo_class_IntlDateFormatter_localtime arginfo_class_IntlDateFormatter_parse 75 76 #define arginfo_class_IntlDateFormatter_getErrorCode arginfo_class_IntlDateFormatter_getDateType 77 78 #define arginfo_class_IntlDateFormatter_getErrorMessage arginfo_class_IntlDateFormatter_getDateType 79 80 81 ZEND_METHOD(IntlDateFormatter, __construct); 82 ZEND_FUNCTION(datefmt_create); 83 ZEND_FUNCTION(datefmt_get_datetype); 84 ZEND_FUNCTION(datefmt_get_timetype); 85 ZEND_FUNCTION(datefmt_get_calendar); 86 ZEND_FUNCTION(datefmt_set_calendar); 87 ZEND_FUNCTION(datefmt_get_timezone_id); 88 ZEND_FUNCTION(datefmt_get_calendar_object); 89 ZEND_FUNCTION(datefmt_get_timezone); 90 ZEND_FUNCTION(datefmt_set_timezone); 91 ZEND_FUNCTION(datefmt_set_pattern); 92 ZEND_FUNCTION(datefmt_get_pattern); 93 ZEND_FUNCTION(datefmt_get_locale); 94 ZEND_FUNCTION(datefmt_set_lenient); 95 ZEND_FUNCTION(datefmt_is_lenient); 96 ZEND_FUNCTION(datefmt_format); 97 ZEND_FUNCTION(datefmt_format_object); 98 ZEND_FUNCTION(datefmt_parse); 99 ZEND_FUNCTION(datefmt_localtime); 100 ZEND_FUNCTION(datefmt_get_error_code); 101 ZEND_FUNCTION(datefmt_get_error_message); 102 103 104 static const zend_function_entry class_IntlDateFormatter_methods[] = { 105 ZEND_ME(IntlDateFormatter, __construct, arginfo_class_IntlDateFormatter___construct, ZEND_ACC_PUBLIC) 106 ZEND_ME_MAPPING(create, datefmt_create, arginfo_class_IntlDateFormatter_create, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 107 ZEND_ME_MAPPING(getDateType, datefmt_get_datetype, arginfo_class_IntlDateFormatter_getDateType, ZEND_ACC_PUBLIC) 108 ZEND_ME_MAPPING(getTimeType, datefmt_get_timetype, arginfo_class_IntlDateFormatter_getTimeType, ZEND_ACC_PUBLIC) 109 ZEND_ME_MAPPING(getCalendar, datefmt_get_calendar, arginfo_class_IntlDateFormatter_getCalendar, ZEND_ACC_PUBLIC) 110 ZEND_ME_MAPPING(setCalendar, datefmt_set_calendar, arginfo_class_IntlDateFormatter_setCalendar, ZEND_ACC_PUBLIC) 111 ZEND_ME_MAPPING(getTimeZoneId, datefmt_get_timezone_id, arginfo_class_IntlDateFormatter_getTimeZoneId, ZEND_ACC_PUBLIC) 112 ZEND_ME_MAPPING(getCalendarObject, datefmt_get_calendar_object, arginfo_class_IntlDateFormatter_getCalendarObject, ZEND_ACC_PUBLIC) 113 ZEND_ME_MAPPING(getTimeZone, datefmt_get_timezone, arginfo_class_IntlDateFormatter_getTimeZone, ZEND_ACC_PUBLIC) 114 ZEND_ME_MAPPING(setTimeZone, datefmt_set_timezone, arginfo_class_IntlDateFormatter_setTimeZone, ZEND_ACC_PUBLIC) 115 ZEND_ME_MAPPING(setPattern, datefmt_set_pattern, arginfo_class_IntlDateFormatter_setPattern, ZEND_ACC_PUBLIC) 116 ZEND_ME_MAPPING(getPattern, datefmt_get_pattern, arginfo_class_IntlDateFormatter_getPattern, ZEND_ACC_PUBLIC) 117 ZEND_ME_MAPPING(getLocale, datefmt_get_locale, arginfo_class_IntlDateFormatter_getLocale, ZEND_ACC_PUBLIC) 118 ZEND_ME_MAPPING(setLenient, datefmt_set_lenient, arginfo_class_IntlDateFormatter_setLenient, ZEND_ACC_PUBLIC) 119 ZEND_ME_MAPPING(isLenient, datefmt_is_lenient, arginfo_class_IntlDateFormatter_isLenient, ZEND_ACC_PUBLIC) 120 ZEND_ME_MAPPING(format, datefmt_format, arginfo_class_IntlDateFormatter_format, ZEND_ACC_PUBLIC) 121 ZEND_ME_MAPPING(formatObject, datefmt_format_object, arginfo_class_IntlDateFormatter_formatObject, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 122 ZEND_ME_MAPPING(parse, datefmt_parse, arginfo_class_IntlDateFormatter_parse, ZEND_ACC_PUBLIC) 123 ZEND_ME_MAPPING(localtime, datefmt_localtime, arginfo_class_IntlDateFormatter_localtime, ZEND_ACC_PUBLIC) 124 ZEND_ME_MAPPING(getErrorCode, datefmt_get_error_code, arginfo_class_IntlDateFormatter_getErrorCode, ZEND_ACC_PUBLIC) 125 ZEND_ME_MAPPING(getErrorMessage, datefmt_get_error_message, arginfo_class_IntlDateFormatter_getErrorMessage, ZEND_ACC_PUBLIC) 126 ZEND_FE_END 127 }; 128