function FrxTemplate::addText in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 templates/FrxTemplate.inc \FrxTemplate::addText()
- 7.3 templates/FrxTemplate.inc \FrxTemplate::addText()
File
- templates/
FrxTemplate.inc, line 113
Class
Code
function addText($cur_node, $text) {
$dom = $this->dom;
$tnode = $dom
->createTextNode($text);
$cur_node
->appendChild($tnode);
return $tnode;
}