You are here

public function InstapageCmsPluginDebugLogModel::isDiagnosticMode in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/models/InstapageCmsPluginDebugLogModel.php \InstapageCmsPluginDebugLogModel::isDiagnosticMode()

Checks if Diagnostic mode is on.

Return value

bool True if Diagnostic mode is on.

1 call to InstapageCmsPluginDebugLogModel::isDiagnosticMode()
InstapageCmsPluginDebugLogModel::getLogHTML in core/models/InstapageCmsPluginDebugLogModel.php
Gets the HTML with debug log. Template for th og is in /templates/log.php file.

File

core/models/InstapageCmsPluginDebugLogModel.php, line 31

Class

InstapageCmsPluginDebugLogModel
Class responsible for storing the data in debug log.

Code

public function isDiagnosticMode() {
  return InstapageCmsPluginHelper::getOption('diagnostics', false);
}