Fire/Bug/Panel.php
public function renderTrace($debug_backtrace)
    {
        $renderTrace = '';
        $renderTrace .= '<span class="fs-label">';
        foreach ($debug_backtrace as $index => $trace) {
            $renderTrace .= '#' . $index . ' ';
            if (!empty($trace['file'])) {
                $renderTrace .= $trace['file'];
            }
            if (!empty($trace['line'])) {
                $renderTrace .= '(' . $trace['line'] . ') ';
            }
            if (!empty($trace['class'])) {
                $renderTrace .= $trace['class'] . '::';
            }
            $renderTrace .= $trace['function'] . '()'
                . '<br>';
        }
        $renderTrace .= '</span>';
        return $renderTrace;
    }
public function renderTrace($debug_backtrace)
    {
        $renderTrace = '';
        $renderTrace .= '<span class="fs-label">';
        foreach ($debug_backtrace as $index => $trace) {
            $renderTrace .= '#' . $index . ' ';
            if (!empty($trace['file'])) {
                $renderTrace .= $trace['file'];
            }
            if (!empty($trace['line'])) {
                $renderTrace .= '(' . $trace['line'] . ') ';
            }
            if (!empty($trace['class'])) {
                $renderTrace .= $trace['class'] . '::';
            }
            $renderTrace .= $trace['function'] . '()'
                . '<br>';
        }
        $renderTrace .= '</span>';
        return $renderTrace;
    }
public function renderTrace ( $ debug_backtrace ) { $ renderTrace = '' ; $ renderTrace .= '<span class="fs-label">' ; foreach ( $ debug_backtrace as $ index => $ trace ) { $ renderTrace .= '#' . $ index . ' ' ; if ( ! empty ( $ trace [ 'file' ] ) ) { $ renderTrace .= $ trace [ 'file' ] ; } if ( ! empty ( $ trace [ 'line' ] ) ) { $ renderTrace .= '(' . $ trace [ 'line' ] . ') ' ; } if ( ! empty ( $ trace [ 'class' ] ) ) { $ renderTrace .= $ trace [ 'class' ] . '::' ; } $ renderTrace .= $ trace [ 'function' ] . '()' . '<br>' ; } $ renderTrace .= '</span>' ; return $ renderTrace ; }
Returns a rendered debug_backtrace.
@param array $debug_backtrace
@return string
Returns a rendered debug_backtrace .