You are here

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

Same name and namespace in other branches
  1. 6.2 includes/database.inc \merci_reservation_status()
  2. 7.2 includes/database.inc \merci_reservation_status()
  • @todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'merci_reservation_status'
MerciLineItemMigration::__construct in merci_migrate/merci_line_item.inc
General initialization of a Migration object.

File

merci_migrate/merci_line_item.inc, line 176

Code

function merci_reservation_status($node) {
  return db_query("SELECT merci_reservation_status FROM {merci_reservation} WHERE vid = :vid", array(
    ':vid' => $node->vid,
  ))
    ->fetchField();
}