You are here

function merci_type_setting in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same name and namespace in other branches
  1. 7.2 includes/api.inc \merci_type_setting()
11 calls to merci_type_setting()
merci_build_reservation_table_form in ./merci.module
Builds the table of existing reserved items.
merci_delete_node_type_validate in ./merci.module
Validates deletion of node types.
merci_get_reservable_items in includes/database.inc
Pulls an array of items that are reservable for the content type and date range.
merci_is_merci_type in includes/api.inc
merci_load_reservations_for_node_in_timespan in includes/database.inc
Builds an array representing reservations for a Resource within a given timespan

... See full list

3 string references to 'merci_type_setting'
merci_handler_field_merci_node_type_type_setting::construct in handlers/merci_handler_field.inc
merci_load_item_settings in includes/api.inc
merci_views_data in ./merci.views.inc
Implements hook_views_data().

File

includes/api.inc, line 672
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_type_setting($type) {
  return variable_get('merci_type_setting_' . $type, 'disabled');
}