lib/PHPRtfLite.php
public function addSection(PHPRtfLite_Container_Section $section = null)
    {
        if ($section === null) {
            $section = new PHPRtfLite_Container_Section($this);
        }

        $this->_sections[] = $section;

        return $section;
    }
public function addSection(PHPRtfLite_Container_Section $section = null)
    {
        if ($section === null) {
            $section = new PHPRtfLite_Container_Section($this);
        }

        $this->_sections[] = $section;

        return $section;
    }
public function addSection ( PHPRtfLite_Container_Section $ section = null ) { if ( $ section === null ) { $ section = new PHPRtfLite_Container_Section ( $ this ) ; } $ this -> _sections [ ] = $ section ; return $ section ; }
adds section to rtf document

@param  PHPRtfLite_Container_Section $section
@return PHPRtfLite_Container_Section
adds section to rtf document