|
Posted by Marcus Bointon on 07/14/05 18:48
On 14 Jul 2005, at 16:07, Marcus Bointon wrote:
> I've found various references to overriding the __call function
> (which is now completely obsolete as it clashes with a magic
> method) for the same kind of reason that I need to. So, it seems as
> if __soapCall is NOT called internally when calling a WSDL function
Answering my own question - __soapCall is not called internally, but
you can force it by using __call (that is the magic method, not the
obsolete __call function in SoapClient) by adding this function to
the class:
function __call($function, $args) {
return $this->__soapCall($function, $args, null);
}
This means that I can finally get to pass stuff though my own
__soapCall method, though I have the feeling that it may prevent me
doing other stuff later on (I'm not normally relying on __call
functionality).
Phew.
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
Navigation:
[Reply to this message]
|