You are here

public static function Frx::SQLQueryBuilder in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 Frx.inc \Frx::SQLQueryBuilder()

Facotry for SQL Query builder object

Parameters

$new Boolean value that forces a new object:

Return value

FrxSQLQueryBuilder

File

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

Class

Frx

Code

public static function SQLQueryBuilder($new = FALSE) {
  static $o = '';
  require_once 'FrxSQLQueryBuilder.inc';
  if (!$o || $new) {
    $o = new FrxSQLQueryBuilder();
  }
  return $o;
}