original_string: public function setHost($host)
  	{
  		//Use the provided host or use the default
  		if (empty($host))
  		{
  			throw new Apache_Solr_InvalidArgumentException('Host parameter is empty');
  		}
  		else
  		{
  			$this->_host = $host;
  		}
  
  		if ($this->_urlsInited)
  		{
  			$this->_initUrls();
  		}
  	}
code: public function setHost($host)
  	{
  		//Use the provided host or use the default
  		if (empty($host))
  		{
  			throw new Apache_Solr_InvalidArgumentException('Host parameter is empty');
  		}
  		else
  		{
  			$this->_host = $host;
  		}
  
  		if ($this->_urlsInited)
  		{
  			$this->_initUrls();
  		}
  	}
code_tokens: public function setHost ( $ host ) { //Use the provided host or use the default if ( empty ( $ host ) ) { throw new Apache_Solr_InvalidArgumentException ( 'Host parameter is empty' ) ; } else { $ this -> _host = $ host ; } if ( $ this -> _urlsInited ) { $ this -> _initUrls ( ) ; } }
docstring: Set the host used. If empty will fallback to constants
  
  @param string $host
  
  @throws Apache_Solr_InvalidArgumentException If the host parameter is empty
docstring_tokens: Set the host used . If empty will fallback to constants