public function MerciItemProcessor::getMappingTargets in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Return available mapping targets.
File
- modules/
merci_import/ MerciItemProcessor.inc, line 33 - Class definition of FeedsNodeProcessor.
Class
- MerciItemProcessor
- Creates nodes from feed items.
Code
public function getMappingTargets() {
$targets = parent::getMappingTargets();
$targets += array(
'type' => array(
'name' => t('Content type'),
'description' => t('The content type of the node.'),
),
'merci_default_availability' => array(
'name' => t('MERCI default availability'),
'description' => 'Default availability of the item .',
),
'merci_late_fee_per_hour' => array(
'name' => t('MERCI late fee per hour'),
'description' => "Per hour fee if the resource is returned late.",
),
'merci_rate_per_hour' => array(
'name' => t('MERCI rate per hour'),
'description' => "Per hour fee for use of the resource.",
),
'merci_fee_free_hours' => array(
'name' => t('MERCI fee free hours'),
'description' => "Number of hours the item can be used before fees are charged.",
),
'merci_min_cancel_hours' => array(
'name' => t('MERCI min cancel hours'),
'description' => "Minimum number of hours a user can cancel a reservation for the item.",
),
'merci_autocheckout' => array(
'name' => t('MERCI autocheckout'),
'description' => "TRUE if the resource is automatically checked out when Reservation starts.",
),
'merci_autocheckin' => array(
'name' => t('MERCI autocheckin'),
'description' => "TRUE if the resource is automatically checked in when Reservation starts.",
),
'merci_selfcheckout' => array(
'name' => t('MERCI selfcheckout'),
'description' => "TRUE if the resource is managed by selfcheckout.",
),
);
return $targets;
}