function merci_has_accessories in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6
Same name and namespace in other branches
- 6.2 includes/database.inc \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
- ./
merci.module, line 3132 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_has_accessories($content_type) {
return db_fetch_object(db_query("SELECT * FROM {vocabulary_node_types} WHERE type = '%s'", $content_type));
}