public function FrxEditor::__construct in Forena Reports 7.4
Same name and namespace in other branches
- 7.3 FrxEditor.inc \FrxEditor::__construct()
Construct the editor Enter description here ...
Parameters
unknown_type $report_name name of report to load:
File
- ./
FrxEditor.inc, line 40 - FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd
Class
- FrxEditor
- @file FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd
Code
public function __construct($report_name, $edit = TRUE) {
$this->dom = new DOMDocument('1.0', 'UTF-8');
$this->edit = $edit;
$dom = $this->dom;
$dom->formatOutput = TRUE;
$dom->preserveWhiteSpace = TRUE;
$this->frxReport = new FrxReport();
$this
->load($report_name, $edit);
}