function feedapi_stat_get in FeedAPI 6
Get stats for a given feed node.
1 call to feedapi_stat_get()
- feedapi_stat_nodeapi in feedapi_stat/
feedapi_stat.module - Implementation of hook_nodeapi().
File
- feedapi_stat/
feedapi_stat.module, line 163 - Visualize standard FeedAPI statistics logs.
Code
function feedapi_stat_get($node) {
$values = array();
foreach (feedapi_stat_types() as $type => $name) {
$values[$type] = _feedapi_stat_get($node->nid, $type);
}
return $values;
}