protected function urlBuildPageLink($page)
    {
        $url = $this->url;
        $urlBase = $url->generate() . $url->getPath();
        $queryParts = $url->getQueryArray();
        $queryParts['page'] = $page;
        return $urlBase . '?' . http_build_query($queryParts);
    }
protected function urlBuildPageLink($page)
    {
        $url = $this->url;
        $urlBase = $url->generate() . $url->getPath();
        $queryParts = $url->getQueryArray();
        $queryParts['page'] = $page;
        return $urlBase . '?' . http_build_query($queryParts);
    }
protected function urlBuildPageLink ( $ page ) { $ url = $ this -> url ; $ urlBase = $ url -> generate ( ) . $ url -> getPath ( ) ; $ queryParts = $ url -> getQueryArray ( ) ; $ queryParts [ 'page' ] = $ page ; return $ urlBase . '?' . http_build_query ( $ queryParts ) ; }
add the page to the query string
create an absolute url
@param  int $page
@return string       absolute url
add the page to the query string create an absolute url