[PHP] object passing by reference

2002-11-27 Thread Hoffman, Geoffrey
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 Geoff Hoffman Web Designer/Programmer AZ Interactive Media Group Work: (480) 898-7730 Cell: (480)

Re: [PHP] object passing by reference

2002-11-27 Thread Ernest E Vogelsinger
At 01:34 27.11.2002, Hoffman, Geoffrey spoke out and said: [snip] 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

RE: [PHP] object passing by reference

2002-11-27 Thread Hoffman, Geoffrey
- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 7:06 AM To: Hoffman, Geoffrey Cc: [EMAIL PROTECTED] Subject: Re: [PHP] object passing by reference At 01:34 27.11.2002, Hoffman, Geoffrey spoke out and said: [snip] I

Re[2]: [PHP] object passing by reference

2002-11-27 Thread Tom Rogers
Hi This should do it: class parentClass { var $x; var $child; function parentClass($_x, $_child) {// $this-x = $_x; $this-child = $_child; // $this-child-m = Grow up, sonbr; } function foo() { return I'm the parent.br; } } class childClass { var $m;