RE: [PHP] Referencing a parent class' variables
| From: | Bradley Goldsmith | Date: | Fri, 22 Feb 2002 04:08:19 +0000 |
| Subject: | RE: [PHP] Referencing a parent class' variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85814@lists.php.net to get a copy of this message | ||
How about I answer my own question :)
Same as you reference a member variable when its declared within the child.
I had another problem that was causing me to think differently.
Amazing what a little RTFM time can do.
Sorry to annoy.
Cheers,
Brad
-----Original Message-----
From: Bradley Goldsmith [mailto:brad@massive.com.au]
Sent: Friday, 22 February 2002 3:02 PM
To: php-general@lists.php.net
Subject: [PHP] Referencing a parent class' variables
Hi All,
I am able to call parent functions ok, but can't seem to be able to
reference its variables from a child class.
How does a child call a member variable of it's parent in php?
Cheers,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php