Re: [SOAP] Type translation
| From: | Shane Caraveo | Date: | Fri, 29 Aug 2003 01:55:54 +0000 |
| Subject: | Re: [SOAP] Type translation | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1019@lists.php.net to get a copy of this message | ||
Michele Manzato wrote:
Hello everybody, can somebody please explain in few words how XML - PHP type translation feature works (or is supposed to work)? I mean, the $_auto_translation, $_type_translation and __set_type_translation() stuff in SOAP_Base. Also, I'm trying to put together some HTML documentation about how to use PEAR::SOAP which I hope to submit soon. Regards Micheleauto_translation makes the library try to convert soap schema types into php classes, if a class with the same name exists. set_type_translation allows you to be specific about what classes are used for a given data type. The amazon example (perhaps only in cvs) uses these features. Shane