You are here

function merci_hours_date_open_days_ajax in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Page callback. Returns json array for ajax calls.

1 string reference to 'merci_hours_date_open_days_ajax'
merci_hours_menu in merci_hours/merci_hours.module
Implements hook_menu().

File

merci_hours/merci_hours.module, line 82

Code

function merci_hours_date_open_days_ajax($wc, $year, $month) {
  $dates = merci_hours_get_open_days_in_month($wc, $year, $month);
  drupal_json_output($dates);
}