Source/SimpleBase.php
public function getDebugMessage()
    {
        $message = '<font color="red">DEBUG START</font><br>';
        foreach ($this->debugMessage as $items) {
            if (is_array($items) || is_object($items)) {
                $message .= "<pre>";
                $message .= print_r($items, true) . '<br/>';
                $message .= "</pre>";
            } elseif (!is_array($items) && !is_object($items)) {
                if (strpos($items, 'form action=') !== false) {
                    $message .= highlight_string($items, true) . '<br/>';
                } else {
                    $message .= $items . '<br/>';
                }
            }
        }

        if ($this->commMethod == 'liveupdate') {
            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH FIELDS ' . print_r($this->hashFields, true);

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH DATA ' . print_r($this->hashData, true);

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= highlight_string(@$this->luForm, true) . '<br/>';

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH CHECK ' . "<a href='http://hash.online-convert.com/md5-generator'>ONLINE HASH CONVERTER</a><br>";
        }
        $message .= "-----------------------------------------------------------------------------------<br>";
        $message .= '<font color="red">DEBUG END</font><br>';
        iconv(mb_detect_encoding($message, mb_detect_order(), true), "UTF-8", $message);
        return $message;
    }
public function getDebugMessage()
    {
        $message = '<font color="red">DEBUG START</font><br>';
        foreach ($this->debugMessage as $items) {
            if (is_array($items) || is_object($items)) {
                $message .= "<pre>";
                $message .= print_r($items, true) . '<br/>';
                $message .= "</pre>";
            } elseif (!is_array($items) && !is_object($items)) {
                if (strpos($items, 'form action=') !== false) {
                    $message .= highlight_string($items, true) . '<br/>';
                } else {
                    $message .= $items . '<br/>';
                }
            }
        }

        if ($this->commMethod == 'liveupdate') {
            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH FIELDS ' . print_r($this->hashFields, true);

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH DATA ' . print_r($this->hashData, true);

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= highlight_string(@$this->luForm, true) . '<br/>';

            $message .= "-----------------------------------------------------------------------------------<br>";
            $message .= 'HASH CHECK ' . "<a href='http://hash.online-convert.com/md5-generator'>ONLINE HASH CONVERTER</a><br>";
        }
        $message .= "-----------------------------------------------------------------------------------<br>";
        $message .= '<font color="red">DEBUG END</font><br>';
        iconv(mb_detect_encoding($message, mb_detect_order(), true), "UTF-8", $message);
        return $message;
    }
public function getDebugMessage ( ) { $ message = '<font color="red">DEBUG START</font><br>' ; foreach ( $ this -> debugMessage as $ items ) { if ( is_array ( $ items ) || is_object ( $ items ) ) { $ message .= "<pre>" ; $ message .= print_r ( $ items , true ) . '<br/>' ; $ message .= "</pre>" ; } elseif ( ! is_array ( $ items ) && ! is_object ( $ items ) ) { if ( strpos ( $ items , 'form action=' ) !== false ) { $ message .= highlight_string ( $ items , true ) . '<br/>' ; } else { $ message .= $ items . '<br/>' ; } } } if ( $ this -> commMethod == 'liveupdate' ) { $ message .= "-----------------------------------------------------------------------------------<br>" ; $ message .= 'HASH FIELDS ' . print_r ( $ this -> hashFields , true ) ; $ message .= "-----------------------------------------------------------------------------------<br>" ; $ message .= 'HASH DATA ' . print_r ( $ this -> hashData , true ) ; $ message .= "-----------------------------------------------------------------------------------<br>" ; $ message .= highlight_string ( @ $ this -> luForm , true ) . '<br/>' ; $ message .= "-----------------------------------------------------------------------------------<br>" ; $ message .= 'HASH CHECK ' . "<a href='http://hash.online-convert.com/md5-generator'>ONLINE HASH CONVERTER</a><br>" ; } $ message .= "-----------------------------------------------------------------------------------<br>" ; $ message .= '<font color="red">DEBUG END</font><br>' ; iconv ( mb_detect_encoding ( $ message , mb_detect_order ( ) , true ) , "UTF-8" , $ message ) ; return $ message ; }
Prints all of debug elements

@return void
Prints all of debug elements