lib/PHPRtfLite/Border/Format.php
public function getContent()
    {
        $content = ($this->_size > 0 ? $this->getTypeAsRtfCode() : '')
            . '\brdrw' . $this->_size
            . '\brsp' . $this->_space;

        if ($this->_color && $this->_colorTable) {
            $colorIndex = $this->_colorTable->getColorIndex($this->_color);
            if ($colorIndex !== false) {
                $content .= '\brdrcf' . $colorIndex;
            }
        }

        return $content . ' ';
    }
public function getContent()
    {
        $content = ($this->_size > 0 ? $this->getTypeAsRtfCode() : '')
            . '\brdrw' . $this->_size
            . '\brsp' . $this->_space;

        if ($this->_color && $this->_colorTable) {
            $colorIndex = $this->_colorTable->getColorIndex($this->_color);
            if ($colorIndex !== false) {
                $content .= '\brdrcf' . $colorIndex;
            }
        }

        return $content . ' ';
    }
public function getContent ( ) { $ content = ( $ this -> _size > 0 ? $ this -> getTypeAsRtfCode ( ) : '' ) . '\brdrw' . $ this -> _size . '\brsp' . $ this -> _space ; if ( $ this -> _color && $ this -> _colorTable ) { $ colorIndex = $ this -> _colorTable -> getColorIndex ( $ this -> _color ) ; if ( $ colorIndex !== false ) { $ content .= '\brdrcf' . $ colorIndex ; } } return $ content . ' ' ; }
gets rtf code

@return string rtf code
gets rtf code