protected function getUrl($name, $path = '', $params = array()) {
        $uri = self::getBaseURL($name);
        if ($path) {
            if ($path[0] === '/') {
                $path = substr($path, 1);
            }
            $uri .= $path;
        }
        if ($params) {
            $uri .= '?' . http_build_query($params, null, $this->argSeparator);
        }
        return $uri;
    }
protected function getUrl($name, $path = '', $params = array()) {
        $uri = self::getBaseURL($name);
        if ($path) {
            if ($path[0] === '/') {
                $path = substr($path, 1);
            }
            $uri .= $path;
        }
        if ($params) {
            $uri .= '?' . http_build_query($params, null, $this->argSeparator);
        }
        return $uri;
    }
protected function getUrl ( $ name , $ path = '' , $ params = array ( ) ) { $ uri = self :: getBaseURL ( $ name ) ; if ( $ path ) { if ( $ path [ 0 ] === '/' ) { $ path = substr ( $ path , 1 ) ; } $ uri .= $ path ; } if ( $ params ) { $ uri .= '?' . http_build_query ( $ params , null , $ this -> argSeparator ) ; } return $ uri ; }
Build the URI for given domain alias, path and parameters.

@param $name string the name of the domain
@param $path string optional path (without a leading slash)
@param $params array optional query parameters
@return string the URI for the given parameters
Build the URI for given domain alias path and parameters .