You are here

public function FeedsProcessor::setTargetElement in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsProcessor.inc \FeedsProcessor::setTargetElement()
  2. 7 plugins/FeedsProcessor.inc \FeedsProcessor::setTargetElement()

Set a concrete target element. Invoked from FeedsProcessor::map().

Related topics

2 calls to FeedsProcessor::setTargetElement()
FeedsProcessor::map in plugins/FeedsProcessor.inc
Execute mapping on an item.
FeedsTermProcessor::setTargetElement in plugins/FeedsTermProcessor.inc
Override setTargetElement to operate on a target item that is a term.
5 methods override FeedsProcessor::setTargetElement()
FeedsDataProcessor::setTargetElement in plugins/FeedsDataProcessor.inc
Set target element, bring element in a FeedsDataHandler format.
FeedsFeedNodeProcessor::setTargetElement in plugins/FeedsFeedNodeProcessor.inc
Override setTargetElement to operate on a target item that is a node.
FeedsNodeProcessor::setTargetElement in plugins/FeedsNodeProcessor.inc
Override setTargetElement to operate on a target item that is a node.
FeedsTermProcessor::setTargetElement in plugins/FeedsTermProcessor.inc
Override setTargetElement to operate on a target item that is a term.
FeedsUserProcessor::setTargetElement in plugins/FeedsUserProcessor.inc
Set target element.

File

plugins/FeedsProcessor.inc, line 199

Class

FeedsProcessor
Abstract class, defines interface for processors.

Code

public function setTargetElement(&$target_item, $target_element, $value) {
  $target_item[$target_element] = $value;
}