You are here

function feedapi_node_feedapi_item in FeedAPI 5

Same name and namespace in other branches
  1. 6 feedapi_node/feedapi_node.module \feedapi_node_feedapi_item()

Implementation of hook_feedapi_item().

File

feedapi_node/feedapi_node.module, line 160
Handle how the feed items are represented as a content Handle the processing of the feed items

Code

function feedapi_node_feedapi_item($op) {
  switch ($op) {
    case 'type':
      return array(
        "XML feed",
      );
    default:
      if (function_exists('_feedapi_node_' . $op)) {
        $args = array_slice(func_get_args(), 1);
        return call_user_func_array('_feedapi_node_' . $op, $args);
      }
  }
}