function merci_node_type_status in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2
Same name and namespace in other branches
- 7.2 includes/api.inc \merci_node_type_status()
1 call to merci_node_type_status()
File
- includes/
api.inc, line 729 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_node_type_status($code = NULL) {
$statuses = array(
MERCI_STATUS_ACTIVE => t('Active'),
MERCI_STATUS_INACTIVE => t('Inactive'),
);
if (isset($code)) {
return $statuses[$code];
}
else {
return $statuses;
}
}