public function FrxRenderer::innerXML in Forena Reports 7.4
Same name and namespace in other branches
- 7.3 FrxRenderer.inc \FrxRenderer::innerXML()
Return the inside xml of the current node
2 calls to FrxRenderer::innerXML()
- FrxParameterForm::render in renderers/
FrxParameterForm.inc - 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 renderers/
FrxTitle.inc - Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
File
- renderers/
FrxRenderer.inc, line 504 - 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;
}