You are here

public function FrxDrupal::__construct in Forena Reports 6.2

Same name and namespace in other branches
  1. 6 plugins/FrxDrupal.inc \FrxDrupal::__construct()
  2. 7 plugins/FrxDrupal.inc \FrxDrupal::__construct()
  3. 7.2 plugins/FrxDrupal.inc \FrxDrupal::__construct()
  4. 7.3 plugins/FrxDrupal.inc \FrxDrupal::__construct()
  5. 7.4 plugins/FrxDrupal.inc \FrxDrupal::__construct()

Object constructor

Parameters

unknown_type $uri Database connection string.:

string $repos_path Path to location of data block definitions:

Overrides FrxDataProvider::__construct

File

plugins/FrxDrupal.inc, line 22
Provides data blocks for native drupal connections using the default drupal connections.

Class

FrxDrupal
@file Provides data blocks for native drupal connections using the default drupal connections.

Code

public function __construct($conf, $repos_path) {
  parent::__construct($conf, $repos_path);

  // Set up the stuff required to translate.
  $this->te = new FrxSyntaxEngine(FRX_SQL_TOKEN, ':', $this);
}