public function last($html, $html2 = '')
    {
        # Only show if you are not on the last page
        $r = ($this->get < $this->pages()) ? str_replace('{nr}', $this->pages(), $html) : str_replace('{nr}', $this->pages(), $html2);

        return $r;
    }
public function last($html, $html2 = '')
    {
        # Only show if you are not on the last page
        $r = ($this->get < $this->pages()) ? str_replace('{nr}', $this->pages(), $html) : str_replace('{nr}', $this->pages(), $html2);

        return $r;
    }
public function last ( $ html , $ html2 = '' ) { # Only show if you are not on the last page $ r = ( $ this -> get < $ this -> pages ( ) ) ? str_replace ( '{nr}' , $ this -> pages ( ) , $ html ) : str_replace ( '{nr}' , $ this -> pages ( ) , $ html2 ) ; return $ r ; }
This shows the 'last' link with custom html
@param string $html The HTML you wish to use to display the link
@return string The Same HTML replaced the tags with the proper number
This shows the last link with custom html