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
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
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;
3 matches
Mail list logo