You are here

public function FeedsProcessor::setTargetElement in Feeds 7

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

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

Related topics

1 call to FeedsProcessor::setTargetElement()
FeedsProcessor::map in plugins/FeedsProcessor.inc
Execute mapping on an item.
3 methods override FeedsProcessor::setTargetElement()
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.
FeedsUserProcessor::setTargetElement in plugins/FeedsUserProcessor.inc
Set target element.

File

plugins/FeedsProcessor.inc, line 189

Class

FeedsProcessor
Abstract class, defines interface for processors.

Code

public function setTargetElement($target_item, $target_element, $value) {
  $target_item->{$target_element} = $value;
}