Re: [status-update] XML_Serializer

From: Date: Tue, 29 Jul 2003 12:35:02 +0000
Subject: Re: [status-update] XML_Serializer
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18884@lists.php.net to get a copy of this message
Zitat von Stephan Schmidt <s.schmidt@metrix.de>: > 2. If a special options attribute is added, the types will be added to > the > tags (object, array, int, float) What about storing the actual class name in this attribute? Unfortunately we don't have overloaded ctors but you can simply assume that this class has a parameter-less ctor you can use if deserializing the object. Or alternatively you can expect such classes to have a static fromXML() method that does the same thing as a parameter-less ctor. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.pear.dev (#18884) next »