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)
223 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
253 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
264 struct cal_entry_t *calendar; in _php_cal_info() local
266 calendar = &cal_conversion_table[cal]; in _php_cal_info()
274 for (i = 1; i <= calendar->num_months; i++) { in _php_cal_info()
275 add_index_string(months, i, calendar->month_name_long[i], 1); in _php_cal_info()
276 add_index_string(smonths, i, calendar->month_name_short[i], 1); in _php_cal_info()
280 add_assoc_long(*ret, "maxdaysinmonth", calendar->max_days_in_month); in _php_cal_info()
281 add_assoc_string(*ret, "calname", calendar->name, 1); in _php_cal_info()
282 add_assoc_string(*ret, "calsymbol", calendar->symbol, 1); in _php_cal_info()
327 struct cal_entry_t *calendar; in PHP_FUNCTION() local
339 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
341 sdn_start = calendar->to_jd(year, month, 1); in PHP_FUNCTION()
348 sdn_next = calendar->to_jd(year, 1 + month, 1); in PHP_FUNCTION()
355 sdn_next = calendar->to_jd(1, 1, 1); in PHP_FUNCTION()
358 sdn_next = calendar->to_jd(year + 1, 1, 1); in PHP_FUNCTION()
392 struct cal_entry_t *calendar; in PHP_FUNCTION() local
402 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
406 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
421 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month], 1); in PHP_FUNCTION()
422 add_assoc_string(return_value, "monthname", calendar->month_name_long[month], 1); in PHP_FUNCTION()