public function FrxRenderer::initReportNode in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 FrxRenderer.inc \FrxRenderer::initReportNode()
- 7.3 FrxRenderer.inc \FrxRenderer::initReportNode()
- 7.4 renderers/FrxRenderer.inc \FrxRenderer::initReportNode()
1 call to FrxRenderer::initReportNode()
File
- ./
FrxRenderer.inc, line 24
Class
- FrxRenderer
- Base class for Frx custom renderers @author davidmetzler
Code
public function initReportNode($domNode, $frxReport) {
$this->reportDocDomNode = $domNode;
$this->dataProvider = FrxData::instance();
$this->reportDocNode = simplexml_import_dom($domNode);
$node = $this->reportDocNode;
$this->name = $node
->getName();
$this->htmlAttributes = $node
->attributes();
$this->id = (string) $this->htmlAttributes['id'];
$this->frxAttributes = $node
->attributes(FRX_NS);
$this->teng = $frxReport->teng;
$this->frxReport = $frxReport;
}