|
|
@@ -31,6 +31,19 @@ class MySoapClient extends SoapClient
|
|
|
$request = str_replace(array('ns1:DistributionListActionRequest', 'xmlns:ns2="urn:zimbra"'), array('ns2:DistributionListActionRequest', 'xmlns:ns2="urn:zimbraAccount"'), $request);
|
|
|
}
|
|
|
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbraEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ [
|
|
|
+ $request,
|
|
|
+ $location,
|
|
|
+ $action,
|
|
|
+ $version
|
|
|
+ ],
|
|
|
+ "Debug: request, location, action, version",
|
|
|
+ $this
|
|
|
+ );
|
|
|
+
|
|
|
return parent::__doRequest($request, $location, $action, $version);
|
|
|
}
|
|
|
|
|
|
@@ -44,6 +57,20 @@ class MySoapClient extends SoapClient
|
|
|
*/
|
|
|
public function __soapCall($function_name, array $arguments, array $options = null, $input_headers = null, array &$output_headers = null)
|
|
|
{
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbraEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ [
|
|
|
+ $function_name,
|
|
|
+ $arguments,
|
|
|
+ $options,
|
|
|
+ $input_headers,
|
|
|
+ $output_headers
|
|
|
+ ],
|
|
|
+ "Debug: function_name, arguments, options, input_headers, output_headers",
|
|
|
+ $this
|
|
|
+ );
|
|
|
+
|
|
|
//todo logg
|
|
|
return parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers); // TODO: Change the autogenerated stub
|
|
|
}
|