You are here

public static function Frx::DataFile in Forena Reports 7.4

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

File singleton factory

Return value

FrxDataFile

1 call to Frx::DataFile()
FrxBlockEditor::revertDBBLocks in ./FrxBlockEditor.inc
Writes blocks from the old db structure to the new one.

File

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

Class

Frx

Code

public static function DataFile() {
  static $o = '';
  if (!$o) {
    require_once 'FrxDataFile.inc';
    $o = new FrxDataFile();
  }
  return $o;
}