public static function Frx::Editor in Forena Reports 7.4
Same name and namespace in other branches
- 7.5 Frx.inc \Frx::Editor()
Parameters
$report_name:
Return value
FrxEditor <string, FrxEditor>
29 calls to Frx::Editor()
File
- ./
Frx.inc, line 397 - Frx.incL General Forena Reporting Class
Class
Code
public static function Editor($report_name = '', $edit = TRUE) {
static $o = '';
require_once 'FrxEditor.inc';
if (!$o || !$edit) {
$o = new FrxEditor($report_name, $edit);
}
else {
if ($report_name) {
$o
->load($report_name, $edit);
}
}
return $o;
}