You are here

public function FrxDataSource::__construct in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxDataSource.inc \FrxDataSource::__construct()
6 calls to FrxDataSource::__construct()
FrxDrupal::__construct in plugins/FrxDrupal.inc
Object constructor
FrxFiles::__construct in plugins/FrxFiles.inc
FrxMSSQL::__construct in plugins/FrxMSSQL.inc
Object constructor
FrxOracle::__construct in plugins/FrxOracle.inc
Object constructor
FrxPDO::__construct in plugins/FrxPDO.inc
Object constructor

... See full list

6 methods override FrxDataSource::__construct()
FrxDrupal::__construct in plugins/FrxDrupal.inc
Object constructor
FrxFiles::__construct in plugins/FrxFiles.inc
FrxMSSQL::__construct in plugins/FrxMSSQL.inc
Object constructor
FrxOracle::__construct in plugins/FrxOracle.inc
Object constructor
FrxPDO::__construct in plugins/FrxPDO.inc
Object constructor

... See full list

File

./FrxDataSource.inc, line 21
Class that defines default methods for access control in an FrxDataSource

Class

FrxDataSource
@file Class that defines default methods for access control in an FrxDataSource

Code

public function __construct($conf, $repos_path, $name) {
  $this->conf = $conf;
  $this->comment_prefix = '--';
  $this->block_ext = 'sql';
  $this->block_path = $repos_path;
  $this->app = FrxReportGenerator::instance()->app;
  $this->block_extensions = array(
    'inc',
    'sql',
    'xml',
  );
  $this->name = $name;
  $this->debug = @$conf['debug'];
}