public function FeedsParser::getMappingSourceList in Feeds 7.2
Get list of mapped sources.
Return value
array List of mapped source names in an array.
1 call to FeedsParser::getMappingSourceList()
- FeedsCSVParser::getMappingSourceList in plugins/
FeedsCSVParser.inc - Override parent::getMappingSourceList() to use only lower keys.
1 method overrides FeedsParser::getMappingSourceList()
- FeedsCSVParser::getMappingSourceList in plugins/
FeedsCSVParser.inc - Override parent::getMappingSourceList() to use only lower keys.
File
- plugins/
FeedsParser.inc, line 127 - Contains FeedsParser and related classes.
Class
- FeedsParser
- Abstract class, defines interface for parsers.
Code
public function getMappingSourceList() {
$mappings = feeds_importer($this->id)->processor->config['mappings'];
$sources = array();
foreach ($mappings as $mapping) {
$sources[] = $mapping['source'];
}
return $sources;
}