public static function printDebugExit($force = FALSE) { if (!self::$_alreadyPrintedDebugExit || $force) { if (Saf_Layout::formatIsHtml()) { if (!self::isForced()) { print "\n<p class=\"debugOther\"><a href=\"?nodebug=true\">Disable debugging for this session.</a></p>\n"; } else { print "\n<p class=\"debugOther\">Debugging is forced to on.</p>\n"; } } //#TODO #2.0.0 figure out what to do for other formats... self::$_alreadyPrintedDebugExit = TRUE; } }