protected function _getOneTrace($info, $addObject = false)
    {
        $_this = self::i();

        $_tmp = array();
        if (isset($info['file'])) {
            $_tmp['file'] = $_this->_getRalativePath($info['file']) . ' : ' . $info['line'];
        } else {
            $info['file'] = false;
        }

        if ($info['function'] != 'include' && $info['function'] != 'include_once' && $info['function'] != 'require'
            && $info['function'] != 'require_once'
        ) {
            if (isset($info['type']) && isset($info['class'])) {

                $_tmp['func'] = $info['class']
                    . ' ' . $info['type']
                    . ' ' . $info['function'] . '()';

            } else {
                $_tmp['func'] = $info['function'] . '()';
            }

            $args = isset($info['args']) ? $info['args'] : array();

            if (self::$_config['showArgs'] || $addObject) {
                $_tmp['args'] = isset($info['args']) ? $info['args'] : array();
            } else {
                $_tmp['count_args'] = count($args);
            }

        } else {
            $_tmp['func'] = $info['function'];
        }

        if (isset($info['object']) && (self::$_config['showArgs'] || $addObject)) {
            $_tmp['obj'] = $info['object'];
        }

        return $_tmp;
    }
protected function _getOneTrace($info, $addObject = false)
    {
        $_this = self::i();

        $_tmp = array();
        if (isset($info['file'])) {
            $_tmp['file'] = $_this->_getRalativePath($info['file']) . ' : ' . $info['line'];
        } else {
            $info['file'] = false;
        }

        if ($info['function'] != 'include' && $info['function'] != 'include_once' && $info['function'] != 'require'
            && $info['function'] != 'require_once'
        ) {
            if (isset($info['type']) && isset($info['class'])) {

                $_tmp['func'] = $info['class']
                    . ' ' . $info['type']
                    . ' ' . $info['function'] . '()';

            } else {
                $_tmp['func'] = $info['function'] . '()';
            }

            $args = isset($info['args']) ? $info['args'] : array();

            if (self::$_config['showArgs'] || $addObject) {
                $_tmp['args'] = isset($info['args']) ? $info['args'] : array();
            } else {
                $_tmp['count_args'] = count($args);
            }

        } else {
            $_tmp['func'] = $info['function'];
        }

        if (isset($info['object']) && (self::$_config['showArgs'] || $addObject)) {
            $_tmp['obj'] = $info['object'];
        }

        return $_tmp;
    }
protected function _getOneTrace ( $ info , $ addObject = false ) { $ _this = self :: i ( ) ; $ _tmp = array ( ) ; if ( isset ( $ info [ 'file' ] ) ) { $ _tmp [ 'file' ] = $ _this -> _getRalativePath ( $ info [ 'file' ] ) . ' : ' . $ info [ 'line' ] ; } else { $ info [ 'file' ] = false ; } if ( $ info [ 'function' ] != 'include' && $ info [ 'function' ] != 'include_once' && $ info [ 'function' ] != 'require' && $ info [ 'function' ] != 'require_once' ) { if ( isset ( $ info [ 'type' ] ) && isset ( $ info [ 'class' ] ) ) { $ _tmp [ 'func' ] = $ info [ 'class' ] . ' ' . $ info [ 'type' ] . ' ' . $ info [ 'function' ] . '()' ; } else { $ _tmp [ 'func' ] = $ info [ 'function' ] . '()' ; } $ args = isset ( $ info [ 'args' ] ) ? $ info [ 'args' ] : array ( ) ; if ( self :: $ _config [ 'showArgs' ] || $ addObject ) { $ _tmp [ 'args' ] = isset ( $ info [ 'args' ] ) ? $ info [ 'args' ] : array ( ) ; } else { $ _tmp [ 'count_args' ] = count ( $ args ) ; } } else { $ _tmp [ 'func' ] = $ info [ 'function' ] ; } if ( isset ( $ info [ 'object' ] ) && ( self :: $ _config [ 'showArgs' ] || $ addObject ) ) { $ _tmp [ 'obj' ] = $ info [ 'object' ] ; } return $ _tmp ; }
Get formated one trace info
@param   array $info      One trace element
@param   bool  $addObject Add object to result (low perfomance)
@return  array
Get formated one trace info