protected function FeedsTamperUnitTestCase::callback in Feeds Tamper 7
Same name and namespace in other branches
- 6 tests/feeds_tamper_plugins.test \FeedsTamperUnitTestCase::callback()
9 calls to FeedsTamperUnitTestCase::callback()
- FeedsTamperAbsoluteURLTestCase::executeAbs in tests/
feeds_tamper_plugins.test - FeedsTamperArrayFilterTestCase::executeFilter in tests/
feeds_tamper_plugins.test - FeedsTamperCastToIntTestCase::executeCastToInt in tests/
feeds_tamper_plugins.test - FeedsTamperCopyTestCase::executeCop in tests/
feeds_tamper_plugins.test - FeedsTamperHashTestCase::executeHash in tests/
feeds_tamper_plugins.test
File
- tests/
feeds_tamper_plugins.test, line 36 - Unit tests for feeds tamper plugins.
Class
- FeedsTamperUnitTestCase
- Base class for plugin unit tests.
Code
protected function callback($result, $item_key, $element_key, &$field, $settings = array(), $source = NULL) {
if (is_null($source)) {
$source = new stdClass();
}
$this->plugin_info['callback']($result, $item_key, $element_key, $field, $settings, $source);
}