From 6fe89e3c14ec53db7c21b3717d1e9a98c0db855d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Dec 2012 09:10:46 +0100 Subject: PHP 5.5: save extension reflection --- reflection/date.txt | 672 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 672 insertions(+) create mode 100644 reflection/date.txt (limited to 'reflection/date.txt') diff --git a/reflection/date.txt b/reflection/date.txt new file mode 100644 index 0000000..a2a5e39 --- /dev/null +++ b/reflection/date.txt @@ -0,0 +1,672 @@ +Extension [ extension #2 date version 5.5.0-dev ] { + + - INI { + Entry [ date.timezone ] + Current = 'Europe/Paris' + } + Entry [ date.default_latitude ] + Current = '31.7667' + } + Entry [ date.default_longitude ] + Current = '35.2333' + } + Entry [ date.sunset_zenith ] + Current = '90.583333' + } + Entry [ date.sunrise_zenith ] + Current = '90.583333' + } + } + + - Constants [14] { + Constant [ string DATE_ATOM ] { Y-m-d\TH:i:sP } + Constant [ string DATE_COOKIE ] { l, d-M-y H:i:s T } + Constant [ string DATE_ISO8601 ] { Y-m-d\TH:i:sO } + Constant [ string DATE_RFC822 ] { D, d M y H:i:s O } + Constant [ string DATE_RFC850 ] { l, d-M-y H:i:s T } + Constant [ string DATE_RFC1036 ] { D, d M y H:i:s O } + Constant [ string DATE_RFC1123 ] { D, d M Y H:i:s O } + Constant [ string DATE_RFC2822 ] { D, d M Y H:i:s O } + Constant [ string DATE_RFC3339 ] { Y-m-d\TH:i:sP } + Constant [ string DATE_RSS ] { D, d M Y H:i:s O } + Constant [ string DATE_W3C ] { Y-m-d\TH:i:sP } + Constant [ integer SUNFUNCS_RET_TIMESTAMP ] { 0 } + Constant [ integer SUNFUNCS_RET_STRING ] { 1 } + Constant [ integer SUNFUNCS_RET_DOUBLE ] { 2 } + } + + - Functions { + Function [ function strtotime ] { + + - Parameters [2] { + Parameter #0 [ $time ] + Parameter #1 [ $now ] + } + } + Function [ function date ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $timestamp ] + } + } + Function [ function idate ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $timestamp ] + } + } + Function [ function gmdate ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $timestamp ] + } + } + Function [ function mktime ] { + + - Parameters [6] { + Parameter #0 [ $hour ] + Parameter #1 [ $min ] + Parameter #2 [ $sec ] + Parameter #3 [ $mon ] + Parameter #4 [ $day ] + Parameter #5 [ $year ] + } + } + Function [ function gmmktime ] { + + - Parameters [6] { + Parameter #0 [ $hour ] + Parameter #1 [ $min ] + Parameter #2 [ $sec ] + Parameter #3 [ $mon ] + Parameter #4 [ $day ] + Parameter #5 [ $year ] + } + } + Function [ function checkdate ] { + + - Parameters [3] { + Parameter #0 [ $month ] + Parameter #1 [ $day ] + Parameter #2 [ $year ] + } + } + Function [ function strftime ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $timestamp ] + } + } + Function [ function gmstrftime ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $timestamp ] + } + } + Function [ function time ] { + + - Parameters [0] { + } + } + Function [ function localtime ] { + + - Parameters [2] { + Parameter #0 [ $timestamp ] + Parameter #1 [ $associative_array ] + } + } + Function [ function getdate ] { + + - Parameters [1] { + Parameter #0 [ $timestamp ] + } + } + Function [ function date_create ] { + + - Parameters [2] { + Parameter #0 [ $time ] + Parameter #1 [ $object ] + } + } + Function [ function date_create_from_format ] { + + - Parameters [3] { + Parameter #0 [ $format ] + Parameter #1 [ $time ] + Parameter #2 [ $object ] + } + } + Function [ function date_parse ] { + + - Parameters [1] { + Parameter #0 [ $date ] + } + } + Function [ function date_parse_from_format ] { + + - Parameters [2] { + Parameter #0 [ $format ] + Parameter #1 [ $date ] + } + } + Function [ function date_get_last_errors ] { + + - Parameters [0] { + } + } + Function [ function date_format ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $format ] + } + } + Function [ function date_modify ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $modify ] + } + } + Function [ function date_add ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $interval ] + } + } + Function [ function date_sub ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $interval ] + } + } + Function [ function date_timezone_get ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function date_timezone_set ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $timezone ] + } + } + Function [ function date_offset_get ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function date_diff ] { + + - Parameters [3] { + Parameter #0 [ $object ] + Parameter #1 [ $object2 ] + Parameter #2 [ $absolute ] + } + } + Function [ function date_time_set ] { + + - Parameters [4] { + Parameter #0 [ $object ] + Parameter #1 [ $hour ] + Parameter #2 [ $minute ] + Parameter #3 [ $second ] + } + } + Function [ function date_date_set ] { + + - Parameters [4] { + Parameter #0 [ $object ] + Parameter #1 [ $year ] + Parameter #2 [ $month ] + Parameter #3 [ $day ] + } + } + Function [ function date_isodate_set ] { + + - Parameters [4] { + Parameter #0 [ $object ] + Parameter #1 [ $year ] + Parameter #2 [ $week ] + Parameter #3 [ $day ] + } + } + Function [ function date_timestamp_set ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $unixtimestamp ] + } + } + Function [ function date_timestamp_get ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function timezone_open ] { + + - Parameters [1] { + Parameter #0 [ $timezone ] + } + } + Function [ function timezone_name_get ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function timezone_name_from_abbr ] { + + - Parameters [3] { + Parameter #0 [ $abbr ] + Parameter #1 [ $gmtoffset ] + Parameter #2 [ $isdst ] + } + } + Function [ function timezone_offset_get ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $datetime ] + } + } + Function [ function timezone_transitions_get ] { + + - Parameters [3] { + Parameter #0 [ $object ] + Parameter #1 [ $timestamp_begin ] + Parameter #2 [ $timestamp_end ] + } + } + Function [ function timezone_location_get ] { + + - Parameters [1] { + Parameter #0 [ $object ] + } + } + Function [ function timezone_identifiers_list ] { + + - Parameters [2] { + Parameter #0 [ $what ] + Parameter #1 [ $country ] + } + } + Function [ function timezone_abbreviations_list ] { + + - Parameters [0] { + } + } + Function [ function timezone_version_get ] { + + - Parameters [0] { + } + } + Function [ function date_interval_create_from_date_string ] { + + - Parameters [1] { + Parameter #0 [ $time ] + } + } + Function [ function date_interval_format ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $format ] + } + } + Function [ function date_default_timezone_set ] { + + - Parameters [1] { + Parameter #0 [ $timezone_identifier ] + } + } + Function [ function date_default_timezone_get ] { + + - Parameters [0] { + } + } + Function [ function date_sunrise ] { + + - Parameters [6] { + Parameter #0 [ $time ] + Parameter #1 [ $format ] + Parameter #2 [ $latitude ] + Parameter #3 [ $longitude ] + Parameter #4 [ $zenith ] + Parameter #5 [ $gmt_offset ] + } + } + Function [ function date_sunset ] { + + - Parameters [6] { + Parameter #0 [ $time ] + Parameter #1 [ $format ] + Parameter #2 [ $latitude ] + Parameter #3 [ $longitude ] + Parameter #4 [ $zenith ] + Parameter #5 [ $gmt_offset ] + } + } + Function [ function date_sun_info ] { + + - Parameters [3] { + Parameter #0 [ $time ] + Parameter #1 [ $latitude ] + Parameter #2 [ $longitude ] + } + } + } + + - Classes [4] { + Class [ class DateTime ] { + + - Constants [11] { + Constant [ string ATOM ] { Y-m-d\TH:i:sP } + Constant [ string COOKIE ] { l, d-M-y H:i:s T } + Constant [ string ISO8601 ] { Y-m-d\TH:i:sO } + Constant [ string RFC822 ] { D, d M y H:i:s O } + Constant [ string RFC850 ] { l, d-M-y H:i:s T } + Constant [ string RFC1036 ] { D, d M y H:i:s O } + Constant [ string RFC1123 ] { D, d M Y H:i:s O } + Constant [ string RFC2822 ] { D, d M Y H:i:s O } + Constant [ string RFC3339 ] { Y-m-d\TH:i:sP } + Constant [ string RSS ] { D, d M Y H:i:s O } + Constant [ string W3C ] { Y-m-d\TH:i:sP } + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ static public method __set_state ] { + } + + Method [ static public method createFromFormat ] { + + - Parameters [3] { + Parameter #0 [ $format ] + Parameter #1 [ $time ] + Parameter #2 [ $object ] + } + } + + Method [ static public method getLastErrors ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [15] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $time ] + Parameter #1 [ $object ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ public method format ] { + + - Parameters [1] { + Parameter #0 [ $format ] + } + } + + Method [ public method modify ] { + + - Parameters [1] { + Parameter #0 [ $modify ] + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method getTimezone ] { + + - Parameters [0] { + } + } + + Method [ public method setTimezone ] { + + - Parameters [1] { + Parameter #0 [ $timezone ] + } + } + + Method [ public method getOffset ] { + + - Parameters [0] { + } + } + + Method [ public method setTime ] { + + - Parameters [3] { + Parameter #0 [ $hour ] + Parameter #1 [ $minute ] + Parameter #2 [ $second ] + } + } + + Method [ public method setDate ] { + + - Parameters [3] { + Parameter #0 [ $year ] + Parameter #1 [ $month ] + Parameter #2 [ $day ] + } + } + + Method [ public method setISODate ] { + + - Parameters [3] { + Parameter #0 [ $year ] + Parameter #1 [ $week ] + Parameter #2 [ $day ] + } + } + + Method [ public method setTimestamp ] { + + - Parameters [1] { + Parameter #0 [ $unixtimestamp ] + } + } + + Method [ public method getTimestamp ] { + + - Parameters [0] { + } + } + + Method [ public method diff ] { + + - Parameters [2] { + Parameter #0 [ $object ] + Parameter #1 [ $absolute ] + } + } + } + } + + Class [ class DateTimeZone ] { + + - Constants [14] { + Constant [ integer AFRICA ] { 1 } + Constant [ integer AMERICA ] { 2 } + Constant [ integer ANTARCTICA ] { 4 } + Constant [ integer ARCTIC ] { 8 } + Constant [ integer ASIA ] { 16 } + Constant [ integer ATLANTIC ] { 32 } + Constant [ integer AUSTRALIA ] { 64 } + Constant [ integer EUROPE ] { 128 } + Constant [ integer INDIAN ] { 256 } + Constant [ integer PACIFIC ] { 512 } + Constant [ integer UTC ] { 1024 } + Constant [ integer ALL ] { 2047 } + Constant [ integer ALL_WITH_BC ] { 4095 } + Constant [ integer PER_COUNTRY ] { 4096 } + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method listAbbreviations ] { + + - Parameters [0] { + } + } + + Method [ static public method listIdentifiers ] { + + - Parameters [2] { + Parameter #0 [ $what ] + Parameter #1 [ $country ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $timezone ] + } + } + + Method [ public method getName ] { + + - Parameters [0] { + } + } + + Method [ public method getOffset ] { + + - Parameters [1] { + Parameter #0 [ $datetime ] + } + } + + Method [ public method getTransitions ] { + + - Parameters [2] { + Parameter #0 [ $timestamp_begin ] + Parameter #1 [ $timestamp_end ] + } + } + + Method [ public method getLocation ] { + + - Parameters [0] { + } + } + } + } + + Class [ class DateInterval ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method __set_state ] { + } + + Method [ static public method createFromDateString ] { + + - Parameters [1] { + Parameter #0 [ $time ] + } + } + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $interval_spec ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ public method format ] { + + - Parameters [1] { + Parameter #0 [ $format ] + } + } + } + } + + Class [ class DatePeriod implements Traversable ] { + + - Constants [1] { + Constant [ integer EXCLUDE_START_DATE ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $start ] + Parameter #1 [ $interval ] + Parameter #2 [ $end ] + } + } + } + } + } +} + -- cgit