You are here

function merci_node_type_existing in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2

Same name and namespace in other branches
  1. 6.2 includes/database.inc \merci_node_type_existing()

@todo Please document this function.

See also

http://drupal.org/node/1354

File

includes/database.inc, line 127
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_node_type_existing($type) {
  return db_query("SELECT type FROM {merci_node_type} WHERE type = :type", array(
    ':type' => $type,
  ))
    ->fetchField();
}