_gettype() and __to_soap()
| From: | Michele Manzato | Date: | Mon, 22 Sep 2003 15:04:22 +0000 |
| Subject: | _gettype() and __to_soap() | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1065@lists.php.net to get a copy of this message | ||
Hi again,
some posts and some examples (Shane's too) contain user-defined classes with
"interesting" methods: _gettype() and __to_soap(). They seem to recur from
time to time and to have a special meaning.
Now the question is: are these some kind of "magic" functions that are
treated in a particular way by the SOAP serializer? AFAIK they are not
managed by the library (can't "grep" them in the sources). Is there any
policy for declaring and using these functions?
Bye
Michele