RE: [PHP] Object In a class

2003-02-10 Thread Justin Mazzi
How you can you use an object that is already an instance? -Original Message- From: John Wells [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 4:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Object In a class Justin Mazzi said: > Can anyone tell me

Re: [PHP] Object In a class

2003-02-09 Thread John Wells
Justin Mazzi said: > Can anyone tell me how to use an object within an object. Example > > > class blah { > var $test; > var $test2; > > function test() { > $this->do(); > } > > } > > > then you want to use that class in a new one. > > > class blah2 { > v

[PHP] Object In a class

2003-02-09 Thread Justin Mazzi
Can anyone tell me how to use an object within an object. Example class blah { var $test; var $test2; function test() { $this->do(); } } then you want to use that class in a new one. class blah2 { var $test; var $test2;