AdWordsSoapClient::__soapCall PHP Method

__soapCall() public method

See also: SoapClient::__soapCall
public __soapCall ( $function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null )
    function __soapCall($function_name, $arguments, $options = null, $input_headers = null, &$output_headers = null)
    {
        $this->GetAdsUser()->updateClientLibraryUserAgent($this->GetAdsUser()->GetUserAgent());
        // Copy the updated user agent to the header of this SOAP client, as it
        // is not copied from AdsUser automatically.
        $this->SetHeaderValue($this->GetAdsUser()->GetUserAgentHeaderName(), $this->GetAdsUser()->GetClientLibraryUserAgent());
        return parent::__soapCall($function_name, $arguments);
    }