You are here

function FrxDrupalApplication::debug in Forena Reports 7.3

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

Debug handler Enter description here ...

Parameters

unknown_type $short_message:

unknown_type $log:

File

./FrxDrupalApplication.inc, line 175
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));
  }
}