Req #52387 [Opn]: Add straight to class definitons __getTypes output

From: Date: Thu, 22 Jul 2010 03:05:47 +0000
Subject: Req #52387 [Opn]: Add straight to class definitons __getTypes output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-152599@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52387&edit=1

 ID:               52387
 Updated by:       aharvey@php.net
 Reported by:      ehalls at gmail dot com
 Summary:          Add straight to class definitons __getTypes output
 Status:           Open
 Type:             Feature/Change Request
 Package:          SOAP related
 Operating System: Linux
 PHP Version:      5.3.2

 New Comment:

OK, now the bug tracker's fixed, here's the problem copy/pasted from
Pastebin:

Hi, 

1. I am using the current version of __getTypes to dynamically generate
classes and classmap from a wdsl file. The problem is that the output
of __getTypes does not output some form of notation for base classes.
Even though there are xml tags available that dictate such a link. 

For example, it does not extract 'AbstractResponseType' and display it
as the base class of 'BMUpdateButtonResponseType' from the following
excerpt:

<xs:complexType name="BMUpdateButtonResponseType">
        <xs:complexContent>
             <xs:extension base="ebl:AbstractResponseType">
                                    
2. Wouldn't it be better just to output the type strings in php class
notation and provide a __evalClass('classname') function to load a
particular class as needed for a request?

3. If I am missing some information and this has already been
implemented then please just let me know. 


Thanks


Previous Comments:
------------------------------------------------------------------------
[2010-07-21 13:32:24] ehalls at gmail dot com

Description:
------------
To see the feature description go to the following link:
&#38;#13;&#38;#10;&#38;#13;&#38;#10;http://pastebin.org/410682&#38;#13;&#38;#10;&#38;#13;&#38;#10;I
link to this page rather than type the description here because your
parser keeps mangling it up.&#38;#13;&#38;#10;&#38;#13;&#38;#10;



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52387&edit=1


Thread (4 messages)

« previous php.bugs (#152599) next »