function merci_has_accessories in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2
Same name and namespace in other branches
- 6 merci.module \merci_has_accessories()
- 7.2 includes/database.inc \merci_has_accessories()
1 call to merci_has_accessories()
- merci_build_reservation_table_form in ./
merci.module - Builds the table of existing reserved items.
File
- includes/
database.inc, line 189 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_has_accessories($content_type) {
if (empty($content_type)) {
return;
}
return db_fetch_object(db_query("SELECT * FROM {vocabulary_node_types} WHERE type = '%s'", $content_type));
}