You are here

public function FrxDataSource::error in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxDataSource.inc \FrxDataSource::error()
6 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::__construct in plugins/FrxOracle.inc
Object constructor
FrxPostgres::postgres_xml in plugins/FrxPostgres.inc
Generate xml from sql using the provided f_forena

... See full list

File

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