You are here

public function FrxRenderer::innerXML in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 renderers/FrxRenderer.inc \FrxRenderer::innerXML()

Return the inside xml of the current node

2 calls to FrxRenderer::innerXML()
FrxParameterForm::render in renderers/FrxParameterForm.inc
FrxTitle::render in renderers/FrxTitle.inc

File

./FrxRenderer.inc, line 115
FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Class

FrxRenderer
@file FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Code

public function innerXML() {
  $xml = $this->reportDocNode;
  $tag = $xml
    ->getName();
  $text = '';
  if (is_object($xml) && is_object($xml->{$tag})) {
    $text = $xml
      ->asXML();
    $text = preg_replace("/<\\/?" . $tag . "(.|\\s)*?>/", "", $text);
  }
  return $text;
}