public function createUrl(array $parameters = array())
    {
        $final_parameters = $this->getFinalParameters();
        $path = $this->getBaseURL();

        // Override default parameters
        $final_parameters = array_merge($final_parameters, $parameters);

        return $path . "?" . http_build_query($final_parameters, null, '&') . $this->buildFragment();
    }
public function createUrl(array $parameters = array())
    {
        $final_parameters = $this->getFinalParameters();
        $path = $this->getBaseURL();

        // Override default parameters
        $final_parameters = array_merge($final_parameters, $parameters);

        return $path . "?" . http_build_query($final_parameters, null, '&') . $this->buildFragment();
    }
public function createUrl ( array $ parameters = array ( ) ) { $ final_parameters = $ this -> getFinalParameters ( ) ; $ path = $ this -> getBaseURL ( ) ; // Override default parameters $ final_parameters = array_merge ( $ final_parameters , $ parameters ) ; return $ path . "?" . http_build_query ( $ final_parameters , null , '&' ) . $ this -> buildFragment ( ) ; }
Create URL with parameters

@param   array $parameters - merge parameters from this parameters
@return  string
Create URL with parameters