You are here

function FrxDrupalApplication::debug in Forena Reports 6.2

Same name and namespace in other branches
  1. 7.2 FrxDrupalApplication.inc \FrxDrupalApplication::debug()
  2. 7.3 FrxDrupalApplication.inc \FrxDrupalApplication::debug()

Debug handler Enter description here ...

Parameters

unknown_type $short_message:

unknown_type $log:

Overrides FrxHostApplication::debug

File

./FrxDrupalApplication.inc, line 182
HostApp.inc Defines all the interface points between the host application and Forena. Each of these methods must be specified in order for Forena to function properly. The base class here is drupal, so those

Class

FrxDrupalApplication

Code

function debug($short_message = '', $log = '') {
  if ($log) {
    watchdog('forena debug', $log, NULL);
  }
  if ($short_message) {
    drupal_set_message(check_markup($short_message));
  }
}