how to access objects parent?
| From: | waldschrott | Date: | Tue, 09 May 2000 18:44:09 +0000 |
| Subject: | how to access objects parent? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14684@lists.php.net to get a copy of this message | ||
Hi,
I wonder how to access an objects parent in php? I think I´ve found it in the mail archives before, but I couldn´t find it again.
For example if I do...
$bigmama = new mama();
$bigmama->littlechild= new child();
...
class child {
function where_is_my_mama() {
// how do I acces the parent object from here*
// I think $super won´t work
}}
thx