original_string: protected function getClient($path = null)
  	{
  		if ($path === null) {
  			return $this->client;
  		}
  
  		if ($this->path === $path) {
  			return $this->client;
  		}
  
  		$this->path = $path;
  
  		$this->client = new XmlRpcClient($this->host . '/' . $path, $this->httpClient);
  
  		// The introspection done by the Zend XmlRpc client is probably specific
  		// to Zend XmlRpc servers. To prevent polution of the Odoo logs with errors
  		// resulting from this introspection calls we disable it.
  		$this->client->setSkipSystemLookup(true);
  
  		return $this->client;
  	}
code: protected function getClient($path = null)
  	{
  		if ($path === null) {
  			return $this->client;
  		}
  
  		if ($this->path === $path) {
  			return $this->client;
  		}
  
  		$this->path = $path;
  
  		$this->client = new XmlRpcClient($this->host . '/' . $path, $this->httpClient);
  
  		// The introspection done by the Zend XmlRpc client is probably specific
  		// to Zend XmlRpc servers. To prevent polution of the Odoo logs with errors
  		// resulting from this introspection calls we disable it.
  		$this->client->setSkipSystemLookup(true);
  
  		return $this->client;
  	}
code_tokens: protected function getClient ( $ path = null ) { if ( $ path === null ) { return $ this -> client ; } if ( $ this -> path === $ path ) { return $ this -> client ; } $ this -> path = $ path ; $ this -> client = new XmlRpcClient ( $ this -> host . '/' . $ path , $ this -> httpClient ) ; // The introspection done by the Zend XmlRpc client is probably specific // to Zend XmlRpc servers. To prevent polution of the Odoo logs with errors // resulting from this introspection calls we disable it. $ this -> client -> setSkipSystemLookup ( true ) ; return $ this -> client ; }
docstring: Get XmlRpc Client
  
  This method returns an XmlRpc Client for the requested endpoint.
  If no endpoint is specified or if a client for the requested endpoint is
  already initialized, the last used client will be returned.
  
  @param null|string $path The api endpoint
  
  @return XmlRpcClient
docstring_tokens: Get XmlRpc Client