function _processCoordinate($last_attr, $cur_attr, $char)
    {
        $output = '';

        if ($last_attr != $cur_attr) {
            $close = $open = '';
            if ($last_attr->foreground != $cur_attr->foreground) {
                if ($cur_attr->foreground != 'white') {
                    $open.= '<span style="color: ' . $cur_attr->foreground . '">';
                }
                if ($last_attr->foreground != 'white') {
                    $close = '</span>' . $close;
                }
            }
            if ($last_attr->background != $cur_attr->background) {
                if ($cur_attr->background != 'black') {
                    $open.= '<span style="background: ' . $cur_attr->background . '">';
                }
                if ($last_attr->background != 'black') {
                    $close = '</span>' . $close;
                }
            }
            if ($last_attr->bold != $cur_attr->bold) {
                if ($cur_attr->bold) {
                    $open.= '<b>';
                } else {
                    $close = '</b>' . $close;
                }
            }
            if ($last_attr->underline != $cur_attr->underline) {
                if ($cur_attr->underline) {
                    $open.= '<u>';
                } else {
                    $close = '</u>' . $close;
                }
            }
            if ($last_attr->blink != $cur_attr->blink) {
                if ($cur_attr->blink) {
                    $open.= '<blink>';
                } else {
                    $close = '</blink>' . $close;
                }
            }
            $output.= $close . $open;
        }

        $output.= htmlspecialchars($char);

        return $output;
    }
function _processCoordinate($last_attr, $cur_attr, $char)
    {
        $output = '';

        if ($last_attr != $cur_attr) {
            $close = $open = '';
            if ($last_attr->foreground != $cur_attr->foreground) {
                if ($cur_attr->foreground != 'white') {
                    $open.= '<span style="color: ' . $cur_attr->foreground . '">';
                }
                if ($last_attr->foreground != 'white') {
                    $close = '</span>' . $close;
                }
            }
            if ($last_attr->background != $cur_attr->background) {
                if ($cur_attr->background != 'black') {
                    $open.= '<span style="background: ' . $cur_attr->background . '">';
                }
                if ($last_attr->background != 'black') {
                    $close = '</span>' . $close;
                }
            }
            if ($last_attr->bold != $cur_attr->bold) {
                if ($cur_attr->bold) {
                    $open.= '<b>';
                } else {
                    $close = '</b>' . $close;
                }
            }
            if ($last_attr->underline != $cur_attr->underline) {
                if ($cur_attr->underline) {
                    $open.= '<u>';
                } else {
                    $close = '</u>' . $close;
                }
            }
            if ($last_attr->blink != $cur_attr->blink) {
                if ($cur_attr->blink) {
                    $open.= '<blink>';
                } else {
                    $close = '</blink>' . $close;
                }
            }
            $output.= $close . $open;
        }

        $output.= htmlspecialchars($char);

        return $output;
    }
function _processCoordinate ( $ last_attr , $ cur_attr , $ char ) { $ output = '' ; if ( $ last_attr != $ cur_attr ) { $ close = $ open = '' ; if ( $ last_attr -> foreground != $ cur_attr -> foreground ) { if ( $ cur_attr -> foreground != 'white' ) { $ open .= '<span style="color: ' . $ cur_attr -> foreground . '">' ; } if ( $ last_attr -> foreground != 'white' ) { $ close = '</span>' . $ close ; } } if ( $ last_attr -> background != $ cur_attr -> background ) { if ( $ cur_attr -> background != 'black' ) { $ open .= '<span style="background: ' . $ cur_attr -> background . '">' ; } if ( $ last_attr -> background != 'black' ) { $ close = '</span>' . $ close ; } } if ( $ last_attr -> bold != $ cur_attr -> bold ) { if ( $ cur_attr -> bold ) { $ open .= '<b>' ; } else { $ close = '</b>' . $ close ; } } if ( $ last_attr -> underline != $ cur_attr -> underline ) { if ( $ cur_attr -> underline ) { $ open .= '<u>' ; } else { $ close = '</u>' . $ close ; } } if ( $ last_attr -> blink != $ cur_attr -> blink ) { if ( $ cur_attr -> blink ) { $ open .= '<blink>' ; } else { $ close = '</blink>' . $ close ; } } $ output .= $ close . $ open ; } $ output .= htmlspecialchars ( $ char ) ; return $ output ; }
Returns the current coordinate without preformating

@access private
@return string
Returns the current coordinate without preformating