You are here

function FrxTemplate::addText in Forena Reports 6.2

Same name and namespace in other branches
  1. 7.2 templates/FrxTemplate.inc \FrxTemplate::addText()
  2. 7.3 templates/FrxTemplate.inc \FrxTemplate::addText()

File

templates/FrxTemplate.inc, line 113

Class

FrxTemplate

Code

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