/**
  * @see SoapClient::__soapCall
  */
 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);
 }
Ejemplo n.º 2
0
 function __soapCall($function_name, $arguments, $options = NULL, $input_headers = NULL, &$output_headers = NULL)
 {
     //echo 'YDirect::__soapCall(), $input_headers = ';
     //var_dump($input_headers);
     return parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers);
 }