You are here

public function FrxDataSource::error in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.3 FrxDataSource.inc \FrxDataSource::error()
10 calls to FrxDataSource::error()
FrxDataSource::xmlData in ./FrxDataSource.inc
Implement static XML functioin
FrxOracle::call in plugins/FrxOracle.inc
FrxOracle::oracle_xml in plugins/FrxOracle.inc
Generate xml from sql using the provided f_forena
FrxOracle::php_xml in plugins/FrxOracle.inc
FrxOracle::__construct in plugins/FrxOracle.inc
Object constructor

... See full list

File

./FrxDataSource.inc, line 201
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 error($msg = '', $log = '') {
  if ($msg) {
    drupal_set_message($msg, 'error', FALSE);
  }
  if ($log) {
    watchdog('forena', $log, NULL, WATCHDOG_ERROR);
  }
}