code/libraries/joomlatools/library/view/json.php
protected function _getPageUrl(array $query = array())
    {
        $url = $this->getUrl();

        if ($query) {
            $url->setQuery(array_merge($url->getQuery(true), $query));
        }

        return (string) $url;
    }
protected function _getPageUrl(array $query = array())
    {
        $url = $this->getUrl();

        if ($query) {
            $url->setQuery(array_merge($url->getQuery(true), $query));
        }

        return (string) $url;
    }
protected function _getPageUrl ( array $ query = array ( ) ) { $ url = $ this -> getUrl ( ) ; if ( $ query ) { $ url -> setQuery ( array_merge ( $ url -> getQuery ( true ) , $ query ) ) ; } return ( string ) $ url ; }
Get the page link

@param  array  $query Additional query parameters to merge
@return string
Get the page link