Library/Bullhorn/FastRest/Api/Services/ControllerHelper/Index.php
private function generateUrl($queryParams) {
        $params = $this->getRequest()->getQuery();
        //Remove htaccess mod rewrite query
        if(array_key_exists('_url', $params)) {
            unset($params['_url']);
        }
        //Override with the new parameters
        foreach($queryParams as $name => $value) {
            $params[$name] = $value;
        }
        $url = new Url();
        return 'https://' . $this->getRequest()->getHttpHost() . substr($url->get($this->getRequest()->getQuery('_url'), $params), 1);
    }
private function generateUrl($queryParams) {
        $params = $this->getRequest()->getQuery();
        //Remove htaccess mod rewrite query
        if(array_key_exists('_url', $params)) {
            unset($params['_url']);
        }
        //Override with the new parameters
        foreach($queryParams as $name => $value) {
            $params[$name] = $value;
        }
        $url = new Url();
        return 'https://' . $this->getRequest()->getHttpHost() . substr($url->get($this->getRequest()->getQuery('_url'), $params), 1);
    }
private function generateUrl ( $ queryParams ) { $ params = $ this -> getRequest ( ) -> getQuery ( ) ; //Remove htaccess mod rewrite query if ( array_key_exists ( '_url' , $ params ) ) { unset ( $ params [ '_url' ] ) ; } //Override with the new parameters foreach ( $ queryParams as $ name => $ value ) { $ params [ $ name ] = $ value ; } $ url = new Url ( ) ; return 'https://' . $ this -> getRequest ( ) -> getHttpHost ( ) . substr ( $ url -> get ( $ this -> getRequest ( ) -> getQuery ( '_url' ) , $ params ) , 1 ) ; }
Gets the url

@param string[] $queryParams

@return string
Gets the url