You are here

public function FeedsClientsParser::getMappingSources in Web Service Clients 7

Same name and namespace in other branches
  1. 6 clients/clients_feeds/FeedsClientsParser.inc \FeedsClientsParser::getMappingSources()

Return mapping sources.

At a future point, we could expose data type information here, storage systems like Data module could use this information to store parsed data automatically in fields with a correct field type.

File

clients/clients_feeds/FeedsClientsParser.inc, line 54
Parser for clients. Contains source selector @todo work out how to make source selector work in fetcher

Class

FeedsClientsParser
Class definition for Common Syndication Parser.

Code

public function getMappingSources() {
  $resource = clients_resource_load((int) $this->config['source']);
  return clients_fields($resource);
}