You are here

function FrxRenderer::addText in Forena Reports 7.4

Add a text node to the current dom node.

Parameters

unknown $cur_node:

unknown $text:

Return value

unknown

File

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

Class

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

Code

function addText($cur_node, $text) {
  $dom = $this->dom;
  $tnode = $dom
    ->createTextNode($text);
  $cur_node
    ->appendChild($tnode);
  return $tnode;
}