protected function createUrl($query)
    {
        $options = $this->getOptions();
        $path = sprintf(
            'http://translate.google.com/translate_tts?ie=%s&tl=%s&q=%s',
            $options->hasEncoding() ? $options->getEncoding() : 'UTF-8',
            $options->getLanguage(),
            urlencode($query)
        );
        return $path;
    }
protected function createUrl($query)
    {
        $options = $this->getOptions();
        $path = sprintf(
            'http://translate.google.com/translate_tts?ie=%s&tl=%s&q=%s',
            $options->hasEncoding() ? $options->getEncoding() : 'UTF-8',
            $options->getLanguage(),
            urlencode($query)
        );
        return $path;
    }
protected function createUrl ( $ query ) { $ options = $ this -> getOptions ( ) ; $ path = sprintf ( 'http://translate.google.com/translate_tts?ie=%s&tl=%s&q=%s' , $ options -> hasEncoding ( ) ? $ options -> getEncoding ( ) : 'UTF-8' , $ options -> getLanguage ( ) , urlencode ( $ query ) ) ; return $ path ; }
Create url from options
@param string $query
@return string
Create url from options