You are here

public function RendererBase::innerXML in Forena Reports 7.5

Return the inside xml of the current node

2 calls to RendererBase::innerXML()
FrxParameterForm::render in src/Renderer/FrxParameterForm.php
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
FrxTitle::render in src/Renderer/FrxTitle.php
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.

File

src/Renderer/RendererBase.php, line 513
FrxRenderer.php Base class for Frx custom Renderer @author davidmetzler

Class

RendererBase

Namespace

Drupal\forena\Renderer

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;
}