lib/PHPRtfLite/Container/Section.php
public function addFooter($type = PHPRtfLite_Container_Footer::TYPE_ALL)
    {
        $footer = new PHPRtfLite_Container_Footer($this->_rtf, $type);
        $this->_footers[$type] = $footer;

        return $footer;
    }
public function addFooter($type = PHPRtfLite_Container_Footer::TYPE_ALL)
    {
        $footer = new PHPRtfLite_Container_Footer($this->_rtf, $type);
        $this->_footers[$type] = $footer;

        return $footer;
    }
public function addFooter ( $ type = PHPRtfLite_Container_Footer :: TYPE_ALL ) { $ footer = new PHPRtfLite_Container_Footer ( $ this -> _rtf , $ type ) ; $ this -> _footers [ $ type ] = $ footer ; return $ footer ; }
creates footer for the document.

@param string $type Represented by class constants PHPRtfLite_Container_Footer::TYPE_*
PHPRtfLite_Container_Footer::TYPE_ALL      => 'all' - all pages (different odd and even headers/footers must be not set) <br>
PHPRtfLite_Container_Footer::TYPE_LEFT     => 'left' - left pages (different odd and even headers/footers must be set) <br>
PHPRtfLite_Container_Footer::TYPE_RIGHT    => 'right' - right pages (different odd and even headers/footers must be set)     <br>
PHPRtfLite_Container_Footer::TYPE_FIRST    => 'first' - first page

@return PHPRtfLite_Container_Footer
creates footer for the document .