protected function FeedsQueryPathParser::debug in Feeds QueryPath Parser 6
Same name and namespace in other branches
- 7 FeedsQueryPathParser.inc \FeedsQueryPathParser::debug()
1 call to FeedsQueryPathParser::debug()
File
- ./
FeedsQueryPathParser.inc, line 261 - Provides the class for FeedsQueryPathParser.
Class
- FeedsQueryPathParser
- @file
Code
protected function debug($item, $source) {
if ($this->debug_switch && in_array($source, $this->debug_options)) {
$o = '<ul>';
foreach ($item as $i) {
$o .= '<li>' . check_plain($i
->asXML()) . '</li>';
}
$o .= '</ul>';
drupal_set_message($source . ':' . $o);
}
}