You are here

public function FeedsForenaBlockFetcherResult::getRaw in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.3 feeds/FeedsForenaBlockFetcher.inc \FeedsForenaBlockFetcherResult::getRaw()
  2. 7.4 feeds/FeedsForenaBlockFetcher.inc \FeedsForenaBlockFetcherResult::getRaw()

Overrides parent::getRaw().

Overrides FeedsFetcherResult::getRaw

File

feeds/FeedsForenaBlockFetcher.inc, line 17

Class

FeedsForenaBlockFetcherResult

Code

public function getRaw() {
  $xml = forena_xml($this->block, $this->data);
  $raw = '';
  if (is_object($xml) && method_exists($xml, 'asXML')) {
    $raw = $xml
      ->asXML();
  }
  return $this
    ->sanitizeRaw($raw);
}