function merci_has_accessories in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 includes/database.inc \merci_has_accessories()
- 6 merci.module \merci_has_accessories()
@todo Please document this function.
See also
File
- includes/
database.inc, line 210 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_has_accessories($content_type) {
if (empty($content_type)) {
return;
}
return db_query("SELECT * FROM {taxonomy_vocabulary_node_type} WHERE type = :type", array(
':type' => $content_type,
))
->fetchObject();
}