You are here

function merci_hours_open_hours_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_open_hours_ajax'
merci_hours_menu in merci_hours/merci_hours.module
Implements hook_menu().

File

merci_hours/merci_hours.module, line 74

Code

function merci_hours_open_hours_ajax($wc, $day) {
  $hours = merci_hours_get_open_hours($wc, $day);
  drupal_json_output($hours);
}