Swat/SwatPagination.php
protected function displayPrev()
    {
        if ($this->prev_page > 0) {
            $link = $this->getLink();

            $anchor = new SwatHtmlTag('a');
            $anchor->href = sprintf($link, (string) $this->prev_page);
            // this is a non-breaking space
            $anchor->setContent($this->previous_label);
            $anchor->class = 'swat-pagination-nextprev';
            $anchor->display();
        } else {
            $span = new SwatHtmlTag('span');
            $span->class = 'swat-pagination-nextprev';
            $span->setContent($this->previous_label);
            $span->display();
        }
    }
protected function displayPrev()
    {
        if ($this->prev_page > 0) {
            $link = $this->getLink();

            $anchor = new SwatHtmlTag('a');
            $anchor->href = sprintf($link, (string) $this->prev_page);
            // this is a non-breaking space
            $anchor->setContent($this->previous_label);
            $anchor->class = 'swat-pagination-nextprev';
            $anchor->display();
        } else {
            $span = new SwatHtmlTag('span');
            $span->class = 'swat-pagination-nextprev';
            $span->setContent($this->previous_label);
            $span->display();
        }
    }
protected function displayPrev ( ) { if ( $ this -> prev_page > 0 ) { $ link = $ this -> getLink ( ) ; $ anchor = new SwatHtmlTag ( 'a' ) ; $ anchor -> href = sprintf ( $ link , ( string ) $ this -> prev_page ) ; // this is a non-breaking space $ anchor -> setContent ( $ this -> previous_label ) ; $ anchor -> class = 'swat-pagination-nextprev' ; $ anchor -> display ( ) ; } else { $ span = new SwatHtmlTag ( 'span' ) ; $ span -> class = 'swat-pagination-nextprev' ; $ span -> setContent ( $ this -> previous_label ) ; $ span -> display ( ) ; } }
Displays the previous page link
Displays the previous page link