RE: [PHP-SOAP-DEV] Proposed overriding ser/deser
Status: Alpha
Brought to you by:
rodif_bl
|
From: phpsurf <ph...@if...> - 2002-05-05 22:21:43
|
I had a quick look to this, and I'm not sure I really understood what's in
your mind in the difference between MAP_CLASS_INSTANCE and MAP_CLASS_CONVERT
! :)
my only wish would be, for the class convert, that the convertion methods
are not carried by the class itself but by another class which would just
act as a transformer ... nut maybe that's what you meant !
>
> Basically the difference between MAP_CLASS_INSTANCE and
> MAP_CLASS_CONVERT is
> the instance treats the class as the type thats being converted and the
> class_convert treats the class as just a "conversion" class.
>
> $soap_server->autoMap(true/false);
>
> This will tell the server to "automap" types. Meaning if
> while serializing/deseralizing "someType" and there is an
> existing php class called "someType" then it ill try and call
> the corrisponding functions.
>
>
> I was looking into the domxml extension. The extension will need
> some changes
> for my needs and some other issues that dont currently work right now.
> like:
>
> $xml = new DomElement("asdf");
>
> doesn't really give you a new DomElement();
> you have to do:
>
> $xml = new DomElement("asfd");
> $real_xml = $xml->domelement("asdf");
>
> it looks like the constructors aren't working. I know how to fix
> them its just
> a matter of getting in the changes.
>
> the extension could still handle the
> to_xml_before()
> and
> to_zval_after()
> with out domxml changes or if domxml isn't even compiled in.
>
>
> - Brad
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: ban...@so...
> _______________________________________________
> Phpsoaptoolkit-development mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpsoaptoolkit-development
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
|