core/classes/Paginate.class.php
public function getPageUrl($page){
        $qs = '';
        if($_SERVER['QUERY_STRING']){
            $qs = '?' . $_SERVER['QUERY_STRING'];
        }//if
        return str_replace($this->fromFormat($this->currentPage),$this->fromFormat($page),$this->uri) . $qs;
    }
public function getPageUrl($page){
        $qs = '';
        if($_SERVER['QUERY_STRING']){
            $qs = '?' . $_SERVER['QUERY_STRING'];
        }//if
        return str_replace($this->fromFormat($this->currentPage),$this->fromFormat($page),$this->uri) . $qs;
    }
public function getPageUrl ( $ page ) { $ qs = '' ; if ( $ _SERVER [ 'QUERY_STRING' ] ) { $ qs = '?' . $ _SERVER [ 'QUERY_STRING' ] ; } //if return str_replace ( $ this -> fromFormat ( $ this -> currentPage ) , $ this -> fromFormat ( $ page ) , $ this -> uri ) . $ qs ; }
Get the url for a specified page number.


@param int $page The page number to build a link to.

@return string
Get the url for a specified page number .