clients_feeds.module in Web Service Clients 7
File
clients/clients_feeds/clients_feeds.module
View source
<?php
require_once dirname(__FILE__) . '/clients_feeds.features.inc';
function clients_feeds_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#clients":
$output = '<p>' . t("Clients Feeds .") . '</p>';
break;
}
return $output;
}
function clients_feeds_perm() {
return array(
'access clients feeds',
);
}
function clients_feeds_feeds_plugins() {
$info = array();
$info['FeedsClientsFetcher'] = array(
'name' => 'Clients fetcher',
'description' => 'Fetch data using clients resources',
'handler' => array(
'parent' => 'FeedsFetcher',
'class' => 'FeedsClientsFetcher',
'file' => 'FeedsClientsFetcher.inc',
'path' => drupal_get_path('module', 'clients_feeds'),
),
);
$info['FeedsClientsParser'] = array(
'name' => 'Clients parser',
'description' => 'Parses data using Clients module resources',
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsClientsParser',
'file' => 'FeedsClientsParser.inc',
'path' => drupal_get_path('module', 'clients_feeds'),
),
);
return $info;
}