You are here

function _forena_feeds_plugins in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.3 feeds/forena_feeds.inc \_forena_feeds_plugins()
  2. 7.4 feeds/forena_feeds.inc \_forena_feeds_plugins()
1 call to _forena_feeds_plugins()
forena_feeds_plugins in ./forena.module
Implements hook_feeds_plugins().

File

feeds/forena_feeds.inc, line 2

Code

function _forena_feeds_plugins() {
  $path = drupal_get_path('module', 'forena') . '/feeds';
  $info = array();
  $info['FeedsForenaBlockFetcher'] = array(
    'name' => 'Forena Block Fetcher',
    'description' => 'Fetch any forena data as XML.  Use with an XML Feed parser such as the Forena XML Parser',
    'handler' => array(
      'parent' => 'FeedsFetcher',
      'class' => 'FeedsForenaBlockFetcher',
      'file' => 'FeedsForenaBlockFetcher.inc',
      'path' => $path,
    ),
  );
  $info['FeedsForenaXMLParser'] = array(
    'name' => 'Forena XML Parser',
    'description' => 'Parse XML using the fornea report token syntax.',
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'FeedsForenaXMLParser',
      'file' => 'FeedsForenaXMLParser.inc',
      'path' => $path,
    ),
  );
  return $info;
}