You are here

function merci_load in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same name and namespace in other branches
  1. 6 merci.module \merci_load()
  2. 7.2 merci.module \merci_load()

Implementation of hook_load().

1 call to merci_load()
merci_token_values in ./merci.module
Implementation of hook_token_values().

File

./merci.module, line 852
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_load($node) {
  $return = new stdClass();
  $return->merci_reservation_status = merci_reservation_status($node);

  // TODO get rid of merci array.  should match form api post fields.
  $return->merci_reservation_items = merci_reservation_items($node);
  return $return;
}