public function MerciTypeProcessor::getMappingTargets in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Return available mapping targets.
File
- modules/
merci_import/ MerciTypeProcessor.inc, line 83 - Class definition of FeedsNodeProcessor.
Class
- MerciTypeProcessor
- Creates nodes from feed items.
Code
public function getMappingTargets() {
$targets = array(
'type' => array(
'name' => t('Content type'),
'description' => t('The content type.'),
),
'name' => array(
'name' => t('Content type name'),
'description' => t('The content type name.'),
),
'description' => array(
'name' => t('Content type description'),
'description' => t('The content type description.'),
),
'merci_type_setting' => array(
'name' => t('MERCI type setting'),
'description' => "The MERCI type for the selected content type.",
),
'merci_max_hours_per_reservation' => array(
'name' => t('MERCI max hours per reservation'),
'description' => "The maximum hours that the resource can be reserved for.",
),
'merci_allow_overnight' => array(
'name' => t('MERCI allow overnight reservation'),
'description' => "TRUE if the resource can be kept overnight.",
),
'merci_allow_weekends' => array(
'name' => t('MERCI allow weekend reservation'),
'description' => "TRUE if the resource can be kept over weekends.",
),
'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_active_status' => array(
'name' => t('MERCI active status'),
'description' => "The status of the resource.",
),
'merci_spare_items' => array(
'name' => t('MERCI spare items'),
'description' => "Number of spare items to leave unreserved for the resource.",
),
'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.",
),
'merci_grouping' => array(
'name' => t('MERCI grouping'),
'description' => "tid of MERCI Equiment Grouping vocabulary",
),
'merci_auto_assign_bucket_item' => array(
'name' => t('MERCI auto assign'),
'description' => "TRUE if the bucket item is to be assigned automatically.",
),
);
return $targets;
}