You are here

public static function Frx::Editor in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.5 Frx.inc \Frx::Editor()

Parameters

$report_name:

Return value

FrxEditor <string, FrxEditor>

29 calls to Frx::Editor()
forena_add_report_form in ./forena.report.inc
forena_create_report_submit in ./forena.report.inc
forena_create_trans_form in ./forena.admin.inc
forena_create_trans_form_submit in ./forena.admin.inc
forena_data_block_preview in ./forena.data.inc

... See full list

File

./Frx.inc, line 397
Frx.incL General Forena Reporting Class

Class

Frx

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;
}