You are here

public function FrxDataSource::error in Forena Reports 7.5

10 calls to FrxDataSource::error()
FrxDataSource::xmlData in src/Driver/FrxDataSource.php
Implement static XML functioin
FrxOracle::call in src/Driver/FrxOracle.php
FrxOracle::oracle_xml in src/Driver/FrxOracle.php
Generate xml from sql using the provided f_forena
FrxOracle::php_xml in src/Driver/FrxOracle.php
FrxOracle::__construct in src/Driver/FrxOracle.php
Object constructor

... See full list

File

src/Driver/FrxDataSource.php, line 203
Class that defines default methods for access control in an FrxDataSource

Class

FrxDataSource

Namespace

Drupal\forena\Driver

Code

public function error($msg = '', $log = '') {
  if ($msg) {
    drupal_set_message($msg, 'error', FALSE);
  }
  if ($log) {
    watchdog('forena', $log, NULL, WATCHDOG_ERROR);
  }
}