public static function varDump($var, $exit = false) { self::addDebugStyles(); self::$pvOutput = ''; self::$pvObjects = array(); self::dumper($var, 0); $debugString = ' <div class="ow_debug_cont"> <div class="ow_debug_body"> <div class="ow_debug_cap vardump">OW Debug - Vardump</div> <div> <pre class="vardumper">' . self::$pvOutput . "\n\n" . '<b>Type:</b> <span style="color:red;">' . ucfirst(gettype($var)) . "</span>" . ' </pre> </div> </div> </div> '; echo $debugString; if ($exit) { exit; } }
public function printString($data) { UTIL_Debug::printDebugMessage($data); }
private function handleDie($data) { UTIL_Debug::printDebugMessage($data, !OW::getRequest()->isAjax()); exit; }
private function handleDie($data) { UTIL_Debug::printDebugMessage($data); exit; }
function pve($var, $exit = false) { UTIL_Debug::varDump($var, $exit); exit; }
function printVar($var) { UTIL_Debug::varDump($var); }