[PHP] RE: object passing by reference

2002-11-27 Thread Hoffman, Geoffrey
Tom, you rule. It works. I figured out my problem with my other script too. I had written get and set accessor methods in my class. I discovered that attempting to pass the reference to the set method in the class constructor DOES NOT work, while setting it directly in the class constructor DOES

[PHP] Re: object passing by reference

2002-11-27 Thread Derick Rethans
Geoffrey Hoffman wrote: I want to pass a reference to objectA along with other strings to a new objectB( constructor. Where does my & go? I just keep getting Fatal error: Call to a member function on a non-object Can you post the relevant snippet of code? Derick --