|
Posted by Wayne on 08/29/05 21:48
On Sat, 27 Aug 2005 12:51:45 -0400, "Kevin" <kevin@wxREMOVE4SPAM3.com>
wrote:
>Can anyone suggest a more efficient way to copy an object that doesn't
>involve writing clone methods for all it's various subclasses and component
>classes?
Put a __clone() method in the base class and use the Reflection
classes on $this to access all the public, protected, and private
members. I
Navigation:
[Reply to this message]
|