You are here

function _sf_node_export_date in Salesforce Suite 6.2

Same name and namespace in other branches
  1. 7 sf_entity/sf_entity.module \_sf_node_export_date()
1 call to _sf_node_export_date()
_sf_node_export_cck_FIELDTYPE in ./hooks.php
Override the default CCK export callback for a cck field type.
1 string reference to '_sf_node_export_date'
sf_node_fieldmap_objects in sf_node/sf_node.module
Implementation of hook_fieldmap_objects_alter().

File

sf_node/sf_node.module, line 344
Integrates the core node object and various node related modules with the Salesforce API.

Code

function _sf_node_export_date($node, $fieldname, $drupal_field_definition, $sf_field_definition) {
  return gmdate(DATE_ATOM, $node->{$fieldname});
}