function FrxDrupalApplication::debug in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 FrxDrupalApplication.inc \FrxDrupalApplication::debug()
- 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 184 - 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
Code
function debug($short_message = '', $log = '') {
if ($log) {
watchdog('forena debug', $log, NULL);
}
if ($short_message) {
drupal_set_message(check_markup($short_message));
}
}