On Fri, 2003-06-27 at 03:09, Dave Alger wrote:
> Hiya,
>
> It would be useful for me to be able to use a class within another class and
> I don't know if that's permissable in PHP.
Hi there!
It is indeed possible. However, that's not the problem here. The problem
is that class attribute initiali
Hiya,
It would be useful for me to be able to use a class within another class and
I don't know if that's permissable in PHP.
Here's an example of what I'm trying to do. Is it just simply not permitted
or am I going about it the wrong way?
Thanks in advance for any help,
Dave
Code follows:
==
Hi,
Is this a bad thing to do have a class stored within another class?
I would also like to store an array of another class within a class.
It seems to work apart from the fact that I can't reference an array of
class directly.
ie
$test_array[0]->get();
This gives an error.
Example code.
-
3 matches
Mail list logo