public function getHTML()
    {
        $e = $this;

        $o = '<div class="atk-layout">';

        $o .= $this->getHTMLHeader();

        $o .= $this->getHTMLSolution();

        //$o.=$this->getHTMLBody();

        $o .= '<div class="atk-layout-row"><div class="atk-wrapper atk-section-small">';
        if (isset($e->more_info)) {
            $o .= '<h3>Additional information:</h3>';
            $o .= $this->print_r($e->more_info, '<ul>', '</ul>', '<li>', '</li>', ' ');
        }
        if (method_exists($e, 'getMyFile')) {
            $o .= '<div class="atk-effect-info">'.$e->getMyFile().':'.$e->getMyLine().'</div>';
        }

        if (method_exists($e, 'getMyTrace')) {
            $o .= $this->backtrace(3, $e->getMyTrace());
        } else {
            $o .= $this->backtrace(@$e->shift, $e->getTrace());
        }

        if (isset($e->by_exception)) {
            $o .= '<h3>This error was triggered by the following error:</h3>';
            if ($e->by_exception instanceof self) {
                $o .= $e->by_exception->getHTML();
            } elseif ($e->by_exception instanceof Exception) {
                $o .= $e->by_exception->getMessage();
            }
        }
        $o .= '</div></div>';

        return $o;
    }
public function getHTML()
    {
        $e = $this;

        $o = '<div class="atk-layout">';

        $o .= $this->getHTMLHeader();

        $o .= $this->getHTMLSolution();

        //$o.=$this->getHTMLBody();

        $o .= '<div class="atk-layout-row"><div class="atk-wrapper atk-section-small">';
        if (isset($e->more_info)) {
            $o .= '<h3>Additional information:</h3>';
            $o .= $this->print_r($e->more_info, '<ul>', '</ul>', '<li>', '</li>', ' ');
        }
        if (method_exists($e, 'getMyFile')) {
            $o .= '<div class="atk-effect-info">'.$e->getMyFile().':'.$e->getMyLine().'</div>';
        }

        if (method_exists($e, 'getMyTrace')) {
            $o .= $this->backtrace(3, $e->getMyTrace());
        } else {
            $o .= $this->backtrace(@$e->shift, $e->getTrace());
        }

        if (isset($e->by_exception)) {
            $o .= '<h3>This error was triggered by the following error:</h3>';
            if ($e->by_exception instanceof self) {
                $o .= $e->by_exception->getHTML();
            } elseif ($e->by_exception instanceof Exception) {
                $o .= $e->by_exception->getMessage();
            }
        }
        $o .= '</div></div>';

        return $o;
    }
public function getHTML ( ) { $ e = $ this ; $ o = '<div class="atk-layout">' ; $ o .= $ this -> getHTMLHeader ( ) ; $ o .= $ this -> getHTMLSolution ( ) ; //$o.=$this->getHTMLBody(); $ o .= '<div class="atk-layout-row"><div class="atk-wrapper atk-section-small">' ; if ( isset ( $ e -> more_info ) ) { $ o .= '<h3>Additional information:</h3>' ; $ o .= $ this -> print_r ( $ e -> more_info , '<ul>' , '</ul>' , '<li>' , '</li>' , ' ' ) ; } if ( method_exists ( $ e , 'getMyFile' ) ) { $ o .= '<div class="atk-effect-info">' . $ e -> getMyFile ( ) . ':' . $ e -> getMyLine ( ) . '</div>' ; } if ( method_exists ( $ e , 'getMyTrace' ) ) { $ o .= $ this -> backtrace ( 3 , $ e -> getMyTrace ( ) ) ; } else { $ o .= $ this -> backtrace ( @ $ e -> shift , $ e -> getTrace ( ) ) ; } if ( isset ( $ e -> by_exception ) ) { $ o .= '<h3>This error was triggered by the following error:</h3>' ; if ( $ e -> by_exception instanceof self ) { $ o .= $ e -> by_exception -> getHTML ( ) ; } elseif ( $ e -> by_exception instanceof Exception ) { $ o .= $ e -> by_exception -> getMessage ( ) ; } } $ o .= '</div></div>' ; return $ o ; }
Returns HTML representation of the exception.

@return string
Returns HTML representation of the exception .