function feedapi_node_feedapi_item in FeedAPI 6
Same name and namespace in other branches
- 5 feedapi_node/feedapi_node.module \feedapi_node_feedapi_item()
Implementation of hook_feedapi_item().
File
- feedapi_node/
feedapi_node.module, line 217 - 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",
);
case 'save':
case 'expire':
case 'update':
case 'delete':
case 'purge':
case 'unique':
default:
if (function_exists('_feedapi_node_' . $op)) {
$args = array_slice(func_get_args(), 1);
return call_user_func_array('_feedapi_node_' . $op, $args);
}
}
}