function merci_reservation_status in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 includes/database.inc \merci_reservation_status()
- 7.3 merci_migrate/merci_line_item.inc \merci_reservation_status()
@todo Please document this function.
See also
1 call to merci_reservation_status()
- merci_load in ./
merci.module - Implements hook_load().
4 string references to 'merci_reservation_status'
- merci_handler_field_merci_reservation_status::construct in handlers/
merci_handler_field.inc - Construct a new field handler.
- merci_schema in ./
merci.install - Implements hook_schema().
- merci_validate_status in includes/
api.inc - merci_views_data in ./
merci.views.inc - Implements hook_views_data().
File
- includes/
database.inc, line 150 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_reservation_status($node) {
return db_query("SELECT merci_reservation_status FROM {merci_reservation} WHERE vid = :vid", array(
':vid' => $node->vid,
))
->fetchField();
}