lib/PHPRtfLite/Border.php
public function getContent($type = '\\')
    {
        $content = '';
        if ($this->_borderLeft) {
            $content .= $type . 'brdrl' . $this->_borderLeft->getContent();
        }
        if ($this->_borderRight) {
            $content .= $type . 'brdrr' . $this->_borderRight->getContent();
        }
        if ($this->_borderTop) {
            $content .= $type . 'brdrt' . $this->_borderTop->getContent();
        }
        if ($this->_borderBottom) {
            $content .= $type . 'brdrb' . $this->_borderBottom->getContent();
        }
        return $content;
    }
public function getContent($type = '\\')
    {
        $content = '';
        if ($this->_borderLeft) {
            $content .= $type . 'brdrl' . $this->_borderLeft->getContent();
        }
        if ($this->_borderRight) {
            $content .= $type . 'brdrr' . $this->_borderRight->getContent();
        }
        if ($this->_borderTop) {
            $content .= $type . 'brdrt' . $this->_borderTop->getContent();
        }
        if ($this->_borderBottom) {
            $content .= $type . 'brdrb' . $this->_borderBottom->getContent();
        }
        return $content;
    }
public function getContent ( $ type = '\\' ) { $ content = '' ; if ( $ this -> _borderLeft ) { $ content .= $ type . 'brdrl' . $ this -> _borderLeft -> getContent ( ) ; } if ( $ this -> _borderRight ) { $ content .= $ type . 'brdrr' . $ this -> _borderRight -> getContent ( ) ; } if ( $ this -> _borderTop ) { $ content .= $ type . 'brdrt' . $ this -> _borderTop -> getContent ( ) ; } if ( $ this -> _borderBottom ) { $ content .= $ type . 'brdrb' . $ this -> _borderBottom -> getContent ( ) ; } return $ content ; }
gets rtf code of object

@param   string $type rtf code part
@return  string rtf code
gets rtf code of object