Hi,
This is expected since the property is marked private, meaning its only
accessable within its own scope, not for extended classes. For that you
need to use protected, as you mention.
ray
-
e: [EMAIL PROTECTED]
w: http://www.memefeeder.com
Antony Dovgal wrote:
Hi all!
What do you expect from
On Tue, 15 Jun 2004 16:32:55 +0200
Johannes Schlueter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> that's imho expected behaviour. To quote
> http://www.php.net/zend-engine-2.php
> | Protected member variables can be accessed in classes extending the
> | class they are declared in, whereas private member
Hi,
that's imho expected behaviour. To quote
http://www.php.net/zend-engine-2.php
| Protected member variables can be accessed in classes extending the class
| they are declared in, whereas private member variables can only be
| accessed by the class they belong to.
And $id belongs to the base