Lines Matching refs:calendar
48 ZEND_ARG_INFO(0, calendar)
52 ZEND_ARG_INFO(0, calendar)
58 ZEND_ARG_INFO(0, calendar)
66 ZEND_ARG_INFO(0, calendar)
159 PHP_MINIT(calendar),
163 PHP_MINFO(calendar),
169 ZEND_GET_MODULE(calendar)
226 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
256 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
267 struct cal_entry_t *calendar; in _php_cal_info() local
269 calendar = &cal_conversion_table[cal]; in _php_cal_info()
277 for (i = 1; i <= calendar->num_months; i++) { in _php_cal_info()
278 add_index_string(months, i, calendar->month_name_long[i], 1); in _php_cal_info()
279 add_index_string(smonths, i, calendar->month_name_short[i], 1); in _php_cal_info()
283 add_assoc_long(*ret, "maxdaysinmonth", calendar->max_days_in_month); in _php_cal_info()
284 add_assoc_string(*ret, "calname", calendar->name, 1); in _php_cal_info()
285 add_assoc_string(*ret, "calsymbol", calendar->symbol, 1); in _php_cal_info()
330 struct cal_entry_t *calendar; in PHP_FUNCTION() local
342 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
344 sdn_start = calendar->to_jd(year, month, 1); in PHP_FUNCTION()
351 sdn_next = calendar->to_jd(year, 1 + month, 1); in PHP_FUNCTION()
358 sdn_next = calendar->to_jd(1, 1, 1); in PHP_FUNCTION()
361 sdn_next = calendar->to_jd(year + 1, 1, 1); in PHP_FUNCTION()
395 struct cal_entry_t *calendar; in PHP_FUNCTION() local
405 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
409 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
429 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month], 1); in PHP_FUNCTION()
430 add_assoc_string(return_value, "monthname", calendar->month_name_long[month], 1); in PHP_FUNCTION()