[PHP] Re: cloning $this php5

2007-05-12 Thread itoctopus
I don't think the clone function works on $this. -- itoctopus - http://www.itoctopus.com blackwater dev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a method within an class that should make a copy of itself, do some stuff on the copy and return it. The object contains

[PHP] Re: cloning $this php5

2007-05-11 Thread blackwater dev
Actually, the error seems to be coming with inner objects call some of their methods. For example the object as a datamember that is a reference to another object. When I clone it, I can't seem to call methods on the data member object. Thanks! On 5/11/07, blackwater dev [EMAIL PROTECTED]