public function getUrl($page, $absolute = false, $routePrm = null)
    {
        $prm = !is_null($routePrm) ? $routePrm : $this->routePrm;
        $prm['page'] = $page;

        return $this->service->generateUrl($this->route, $prm, $absolute);
    }
public function getUrl($page, $absolute = false, $routePrm = null)
    {
        $prm = !is_null($routePrm) ? $routePrm : $this->routePrm;
        $prm['page'] = $page;

        return $this->service->generateUrl($this->route, $prm, $absolute);
    }
public function getUrl ( $ page , $ absolute = false , $ routePrm = null ) { $ prm = ! is_null ( $ routePrm ) ? $ routePrm : $ this -> routePrm ; $ prm [ 'page' ] = $ page ; return $ this -> service -> generateUrl ( $ this -> route , $ prm , $ absolute ) ; }
Get the URL for a page number.

@param int   $page     Page number
@param bool  $absolute Indicate if the URI should be absolute
@param array $routePrm Route parameter array to use instead of the configured one

@return string The URL
Get the URL for a page number .